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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-30250— In Astro-Shield, setting a correct `integrity` attribute to injected code allows to bypass the allow-lists

Quick assessment

Affected
kindspells astro-shield
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Astro-Shield是KindSpells Labs开源的一个库。用于计算 JS 脚本和 CSS 样式表的子资源完整性哈希。 Astro-Shield 1.2.0至1.3.1版本存在安全漏洞,该漏洞源于允许攻击者为注入的代码设置正确的integrity属性来绕过允许列表。

CVSS 7.5 · High EPSS 0.31% · P24

Possible ATT&CK Techniques 1 AI

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

I. Basic Information for CVE-2024-30250

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
In Astro-Shield, setting a correct `integrity` attribute to injected code allows to bypass the allow-lists
Source: CVE Program / CVE List V5
Vulnerability 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.
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 1.2.0至1.3.1版本存在安全漏洞,该漏洞源于允许攻击者为注入的代码设置正确的integrity属性来绕过允许列表。
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

Vendor Product Affected Versions CPE Subscribe
kindspells astro-shield >= 1.2.0, < 1.3.2 -

II. Public POCs for CVE-2024-30250

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8125 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-30250

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-30250 (2)

Vendor Advisories for CVE-2024-30250 (1)

Other References for CVE-2024-30250 (1)

IV. Related Vulnerabilities