漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections
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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Vulnerability Title
Astro-Shield 安全漏洞
Vulnerability Description
Astro-Shield是KindSpells Labs开源的一个库。用于计算 JS 脚本和 CSS 样式表的子资源完整性哈希。 Astro-Shield存在安全漏洞,该漏洞源于CSP标头生成功能允许列出恶意注入的资源。
CVSS Information
N/A
Vulnerability Type
N/A