Vulnerability Information
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
Unhead has a Bypass of URI Scheme Sanitization in makeTagSafe via Case-Sensitivity
Vulnerability Description
Unhead is a document head and template manager. Prior to 2.1.11, The link.href check in makeTagSafe (safe.ts) uses String.includes(), which is case-sensitive. Browsers treat URI schemes case-insensitively. DATA:text/css,... is the same as data:text/css,... to the browser, but 'DATA:...'.includes('data:') returns false. An attacker can inject arbitrary CSS for UI redressing or data exfiltration via CSS attribute selectors with background-image callbacks. This vulnerability is fixed in 2.1.11.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
unhead 跨站脚本漏洞
Vulnerability Description
unhead是UnJS开源的一个文档头和模板管理器。 unhead 2.1.11之前版本存在跨站脚本漏洞,该漏洞源于link.href检查对大小写敏感,可能导致攻击者注入任意CSS,用于UI伪装或通过CSS属性选择器进行数据渗漏。
CVSS Information
N/A
Vulnerability Type
N/A