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
PostCSS has XSS via Unescaped </style> in its CSS Stringify Output
Vulnerability Description
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Versions prior to 8.5.10 do not escape `</style>` sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML `<style>` tags, `</style>` in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Vulnerability Title
PostCSS 跨站脚本漏洞
Vulnerability Description
PostCSS是PostCSS开源的一个样式转换工具。 PostCSS 8.5.10之前版本存在跨站脚本漏洞,该漏洞源于在字符串化CSS AST时未转义</style>序列,可能导致用户提交的CSS被解析并重新字符串化以嵌入HTML<style>标签时,CSS值中的</style>跳出样式环境,从而引发跨站脚本攻击。
CVSS Information
N/A
Vulnerability Type
N/A