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.
No analysis available yet.
Remediation
No remediation available yet.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-1182 | 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. |
Github GHSA |
GHSA-c4gr-q97g-ppwc | In Astro-Shield, setting a correct `integrity` attribute to injected code allows to bypass the allow-lists |
References
History
Fri, 19 Sep 2025 16:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kindspells
Kindspells astro-shield |
|
| CPEs | cpe:2.3:a:kindspells:astro-shield:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Kindspells
Kindspells astro-shield |
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2024-08-02T01:32:05.408Z
Reserved: 2024-03-26T12:52:00.933Z
Link: CVE-2024-30250
Updated: 2024-08-02T01:32:05.408Z
Status : Analyzed
Published: 2024-04-04T15:15:39.240
Modified: 2025-09-19T16:00:05.347
Link: CVE-2024-30250
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA