CVE Catalog

CVE-2026-73646

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

In PostCSS before 8.5.18, loadMap() in lib/previous-map.js 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.

Risk Assessment

Processing untrusted CSS could lead to disclosure of source content from .map files, potentially compromising data confidentiality.

Recommendation

Update PostCSS to version 8.5.18 or later, and avoid processing untrusted CSS without setting map: false.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS