漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Astro: XSS via Unescaped Attribute Names in Spread Props
Vulnerability Description
Astro is a web framework. Prior to 6.4.6, the spreadAttributes function in Astro's server-side rendering pipeline iterates over object keys and passes them directly to addAttribute, which interpolates the key into the HTML output without escaping. When a developer uses the spread syntax {...props} on an HTML element and the object keys come from an untrusted source (API, CMS, URL parameters), an attacker can inject arbitrary HTML attributes including event handlers like onmousemove, onclick, or break out of the attribute context entirely to inject new elements. This vulnerability is fixed in 6.4.6.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
Astro 跨站脚本漏洞
Vulnerability Description
Astro是Astro团队开源的一个内容驱动网站的 web 框架。 Astro 6.4.6之前版本存在跨站脚本漏洞,该漏洞源于spreadAttributes函数在服务器端渲染过程中未对对象键进行转义,可能导致攻击者注入任意HTML属性或注入新元素。
CVSS Information
N/A
Vulnerability Type
N/A