CVE-2024-30250: Astro-Shield is an integration to enhance website security with SubResource Integrity hashes, Content-Security
CVE-2024-30250 is a high-severity flaw (CVSS 7.5) affecting astro-shield. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Astro-Shield is an integration to enhance website security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques. Versions from 1.2.0 to 1.3.1 of Astro-Shield allow bypass to the allow-lists for cross-origin resources by introducing valid `integrity` attributes to the injected code. This implies that the injected SRI hash would be added to the generated CSP header, which would lead the browser to believe that th
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 76%) |
| CISA exploited list | No |
| Weakness | CWE-345 |
| Published | 2024-04-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-30250?
astro-shield: upgrade to 1.3.2. Exact commands for each OS are on this page.
Is CVE-2024-30250 being exploited?
CVE-2024-30250 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-30250 affect?
CVE-2024-30250 affects astro-shield. Severity is high (CVSS 7.5). Astro-Shield is an integration to enhance website security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques. Versions from 1.2.0 to 1.3.1 of Astro-Shield allow bypass to the allow-lists for cross-orig
How urgent is CVE-2024-30250?
Priority 37/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-29896 HIGH 7.5 DOWNGRADE Astro-Shield is a library to compute the subresource integrity hashes for your JS scripts and CSS stylesheets