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: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure
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. Prior to 8.5.18, lib/previous-map.js loadMap() passes attacker-controlled sourceMappingURL values to join(dirname(opts.from), annotation), and loadFile() permits traversed or absolute .map paths, allowing untrusted CSS processed without map: false to disclose sourcesContent from arbitrary reachable .map files through result.map. This issue is fixed in version 8.5.18.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
PostCSS 路径遍历漏洞
Vulnerability Description
PostCSS是PostCSS组织开源的一个使用 JavaScript 转换 CSS 的工具。 PostCSS 8.5.18之前版本存在路径遍历漏洞,该漏洞源于loadMap()和loadFile()函数对sourceMappingURL和.map文件路径验证不当,可能导致攻击者通过result.map泄露任意可访问.map文件中的sourcesContent。
CVSS Information
N/A
Vulnerability Type
N/A