Add Subresource Integrity (SRI) to CDN-loaded Chart.js #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: low
Category: security
Location:
templates/index.html:3 (and assets/income/summary)Problem
Chart.js is loaded from jsDelivr with no integrity hash; a compromised/overwritten CDN asset would run with access to all on-page budget data.
Suggested fix
Add
integrity="sha384-..." crossorigin="anonymous", or self-host under static/.Filed by automated code review.