CVEvulnerability
CVE-2026-73646
7.5 HIGH
Official page ↗
- Status
- Awaiting Analysis
- Published
- 2026-08-17
- Last modified
- 2026-09-18
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
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.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c github.com
- https://github.com/postcss/postcss/releases/tag/8.5.18 github.com
- https://github.com/postcss/postcss/security/advisories/GHSA-r28c-9q8g-f849 github.com
- https://github.com/postcss/postcss/security/advisories/GHSA-r28c-9q8g-f849 github.com