Security mailing lists by PureSourceCode

CVE-2024-29896

HIGH 7.5CVSS 3.1

Content-Security-Policy header generation in middleware could be compromised by malicious injections

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.

Published
28 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-74
Also known as
GHSA-w387-5qqw-7g8m
Sources
NVDJSONOSV GHSA-w387-5qqw-7g8mJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD kindspells astro-shield
cpe:2.3:a:kindspells:astro-shield:1.2.0:*:*:*:*:*:*:*
= 1.2.0
OSV npm @kindspells/astro-shield >= 1.2.0, < 1.3.0 1.3.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 28 Mar 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.