PT-2026-76686 · Npm · Postcss
CVE-2026-73646
·
Published
2026-07-24
·
Updated
2026-08-28
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
PostCSS versions prior to 8.5.18
Description
PostCSS transforms CSS files into an Abstract Syntax Tree for analysis and modification. A path traversal issue exists in
lib/previous-map.js where the loadMap() function passes attacker-controlled sourceMappingURL values to join(dirname(opts.from), annotation), and the loadFile() function allows absolute or traversed .map paths. This allows untrusted CSS processed without the map: false option to disclose sourcesContent from arbitrary reachable .map files via result.map.Recommendations
Update to version 8.5.18.
As a temporary mitigation, process untrusted CSS using the
map: false option.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Postcss