- Home
- Vulnerabilities
- CVE-2026-45623
CVE-2026-45623
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into…
Summary
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS's default options — no from, no map, no plugins required — and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.
Affected products and versions
Postcss (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Postcss | before 8.5.12 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1256)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1472)
CERT-FR advisories
- CERTFR-2026-AVI-1472 — Multiples vulnérabilités dans les produits IBM (06 novembre 2026) 6 Nov 2026
- CERTFR-2026-AVI-1256 — Multiples vulnérabilités dans les produits IBM (02 octobre 2026) 2 Oct 2026
References
- https://github.com/postcss/postcss/security/advisories/GHSA-6g55-p6wh-862qExploit, Mitigation, Vendor Advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-22 · Traversée de chemin / fichiers