CVE-2024-29896
Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections
Vexday Risk Score
21Low
SSVC decision (CISA)
Track
No exploitation signal → monitor
CVSS 7.5EPSS 0.6%KEV nãoPoC —Nuclei —Metasploit —Patch —
Lifecycle
28 Mar 2024Published on NVD
Recommendation: Monitor — no exploitation signal at the moment.
Astro-Shield is a library to compute the subresource integrity hashes for your JS scripts and CSS stylesheets. When automated CSP headers generation for SSR content is enabled and the web application serves content that can be partially controlled by external users, then it is possible that the CSP headers generation feature might be "allow-listing" malicious injected resources like inlined JS, or references to external malicious scripts. The fix is available in version 1.3.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
KindSpells · astro-shieldWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →