Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-29896— Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections

CVSS 7.5 · High EPSS 0.59% · P45

Possible ATT&CK Techniques 1AI

T1505.003 · Web Shell
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-29896

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Astro-Shield 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Astro-Shield是KindSpells Labs开源的一个库。用于计算 JS 脚本和 CSS 样式表的子资源完整性哈希。 Astro-Shield存在安全漏洞,该漏洞源于CSP标头生成功能允许列出恶意注入的资源。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
KindSpellsastro-shield = 1.2.0 -

II. Public POCs for CVE-2024-29896

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 8417 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-29896

登录查看更多情报信息。

Patches & Fixes for CVE-2024-29896 (1)

Vendor Advisories for CVE-2024-29896 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-29896

No comments yet


Leave a comment