High severity7.5NVD Advisory· Published Apr 4, 2024· Updated Jun 17, 2026
CVE-2024-30250
CVE-2024-30250
Description
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 the injected resource is legit. This vulnerability is patched in version 1.3.2.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@kindspells/astro-shieldnpm | >= 1.2.0, < 1.3.2 | 1.3.2 |
Affected products
3- kindspells/astro-shieldv5Range: >= 1.2.0, < 1.3.2
Patches
Vulnerability mechanics
References
6- github.com/kindspells/astro-shield/commit/1221019306f501bf5fa9bcfb5a23a2321d34ba0anvdPatchWEB
- github.com/kindspells/astro-shield/commit/5ae8b8ef4f681d3a81431ee7e79d5dec545c6e1fnvdPatchWEB
- github.com/advisories/GHSA-c4gr-q97g-ppwcghsaADVISORY
- github.com/kindspells/astro-shield/security/advisories/GHSA-c4gr-q97g-ppwcnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2024-30250ghsaADVISORY
- github.com/kindspells/astro-shield/releases/tag/1.3.2nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.