CVE-2024-30250Kindspells Astro-shield
High 7.5 No auth needed
Follow: this CVE · Kindspells · Kindspells Astro-shield We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 29
- Auth required
- No
- Published
- Apr 4, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Astro-shield.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @kindspells/astro-shield |
≥ 1.2.0 < 1.3.2 |
1.3.2 |
npm install @kindspells/astro-shield@1.3.2 |
Per OSV / GitHub Advisories (GHSA-c4gr-q97g-ppwc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kindspells | astro-shield | ≥ 1.2.0 < 1.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory