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.19, if from is unset, an attacker can cause PreviousMap.loadFile() to read an unintended source-map file by supplying an absolute or directory-traversal sourceMappingURL. The resulting map’s sources and sourcesContent may then be exposed to the application. This issue is fixed in version 8.5.19.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-200 — CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected products
| Vendor | Product | Versions |
|---|---|---|
| postcss | postcss | < 8.5.19 |
References
- https://github.com/postcss/postcss/security/advisories/GHSA-fxqj-rqcc-2cmp (x_refsource_CONFIRM)
- https://github.com/postcss/postcss/commit/7beca139e70f9075c6b19700fcb00dd8033e5da8 (x_refsource_MISC)
- https://github.com/postcss/postcss/releases/tag/8.5.19 (x_refsource_MISC)
Generated from the official CVE List on 04 Aug 2026 07:02 UTC.