{"id":"EUVD-2024-1019","revision":null,"records":[{"revision":"ae0bf77b6409445f8ca1e77e78c5f59b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-29896","aliases":[],"title":"Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections","description":"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.","state":0,"publishedAt":"2024-03-28T12:48:53.104+00:00","modifiedAt":"2024-08-02T01:17:58.611+00:00","affected":[{"ecosystem":"Vendor product","name":"astro-shield","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"KindSpells\",\n                    \"product\": \"astro-shield\",\n                    \"versions\": [\n                        {\n                            \"version\": \"= 1.2.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/KindSpells/astro-shield/security/advisories/GHSA-w387-5qqw-7g8m","https://github.com/KindSpells/astro-shield/commit/41b84576d37fa486a57005ea297658d0bc38566d"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-29896","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-29896","identifiers":["CVE-2024-29896"]},"retained":false,"historicalAffected":[]},{"revision":"76123461f6734c86a5ec034377ac6751","observedAt":"2026-11-15T08:26:44.269+00:00","statement":{"source":"euvd","id":"EUVD-2024-1019","aliases":["CVE-2024-29896","GHSA-w387-5qqw-7g8m"],"title":"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 con…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":null}],"references":["https://github.com/KindSpells/astro-shield/security/advisories/GHSA-w387-5qqw-7g8m","https://github.com/KindSpells/astro-shield/commit/41b84576d37fa486a57005ea297658d0bc38566d"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1019","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 28, 2024, 12:48:53 PM","dateUpdated":"Aug 2, 2024, 1:17:58 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-1019","identifiers":["EUVD-2024-1019","CVE-2024-29896","GHSA-w387-5qqw-7g8m"]},"retained":false,"historicalAffected":[]},{"revision":"5939bbfa89ff404ba0feb4d6d349aa8d","observedAt":"2026-10-24T23:17:34.532+00:00","statement":{"source":"nvd","id":"CVE-2024-29896","aliases":[],"title":"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 con…","description":"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.","state":0,"publishedAt":"2024-03-28T13:15:47.717+00:00","modifiedAt":"2026-06-17T07:23:19.533+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/KindSpells/astro-shield/commit/41b84576d37fa486a57005ea297658d0bc38566d","https://github.com/KindSpells/astro-shield/security/advisories/GHSA-w387-5qqw-7g8m"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-29896","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-74"],"productCriteria":["cpe:2.3:a:kindspells:astro-shield:1.2.0:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-03-28T13:15:47.717","lastModified":"2026-06-17T07:23:19.533"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-29896","identifiers":["CVE-2024-29896"]},"retained":false,"historicalAffected":[]},{"revision":"8b7766189750422a8784b6e13c8ec8d4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w387-5qqw-7g8m","aliases":["CVE-2024-29896"],"title":"Content-Security-Policy header generation in middleware could be compromised by malicious injections","description":"### Impact\n\nWhen the following conditions are met:\n- Automated CSP headers generation for SSR content is enabled\n- The web application serves content that can be partially controlled by external users\n\nThen 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.\n\n### Patches\nAvailable in version 1.3.0 .\n\n### Workarounds\n- Do not enable CSP headers generation.\n- Use it only for dynamically generated content that cannot be controlled by external users in any way.\n\n### References\n_Are there any links users can visit to find out more?_\n","state":0,"publishedAt":"2024-03-29T19:03:59+00:00","modifiedAt":"2026-09-10T03:50:10.7444313+00:00","affected":[{"ecosystem":"npm","name":"@kindspells/astro-shield","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.2.0"},{"kind":"fixed","version":"1.3.0"}]}],"versions":["1.2.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/KindSpells/astro-shield/security/advisories/GHSA-w387-5qqw-7g8m","https://nvd.nist.gov/vuln/detail/CVE-2024-29896","https://github.com/KindSpells/astro-shield/commit/41b84576d37fa486a57005ea297658d0bc38566d","https://github.com/KindSpells/astro-shield/commit/ad3abf5577bae9be420b7ddf376337a5b8817869","https://github.com/KindSpells/astro-shield","https://github.com/KindSpells/astro-shield/compare/1.2.0...1.3.0"],"sourceUrl":"https://github.com/advisories/GHSA-w387-5qqw-7g8m","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w387-5qqw-7g8m","identifiers":["GHSA-w387-5qqw-7g8m","CVE-2024-29896"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T17:50:33.0489747+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T17:50:33.0489747+00:00","lastSuccessAt":"2026-11-16T17:50:33.2117758+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:33.2117767+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-5b5b992da2316e50415088e271a61a5a7b3b1ba305843116b4783c1ec86d58fa","complete":true,"records":426108,"lastAttemptAt":"2026-11-16T17:44:52.1128297+00:00","lastSuccessAt":"2026-11-16T17:44:52.0341248+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:44:52.1128297+00:00","snapshotPublishedAt":"2026-11-16T17:27:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-984340aa647d443f854924f0852ab319","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T17:51:18.1027612+00:00","lastSuccessAt":"2026-11-16T17:51:18.097+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:51:18.097+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T17:50:33.0489747+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T17:50:33.0489747+00:00","lastSuccessAt":"2026-11-16T17:50:33.2125903+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:33.2125908+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-62158c3b10d140c88161da87af98dd6f","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T17:50:59.5110915+00:00","lastSuccessAt":"2026-11-16T17:50:59.505+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T17:50:59.505+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13474,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T17:50:32.8950504+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:32.8950504+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T17:44:52.338834+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:44:52.338834+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T17:50:33.0056326+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:33.0056326+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-3da619381c9f1c87f7b45518cd7541780ba25dac78a9f5cb3562eee84c7eac8f","complete":true,"records":232512,"lastAttemptAt":"2026-11-16T17:50:32.6652455+00:00","lastSuccessAt":"2026-11-16T17:50:31.6385672+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:32.6652455+00:00","snapshotPublishedAt":"2026-11-16T17:33:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}