CVE-2024-29896

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductKindspells Astro-shield
PublishedMar 28, 2024
First seenMar 28, 2024
Weakness typeCWE-74Injection

How to fix

Update
  • @kindspells/astro-shield1.3.0 or later

Affected products

ProductAffected versionsFixed in
kindspells astro-shield1.2.0—
@kindspells/astro-shieldnpm1.2.0 ≤ v < 1.3.01.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.