A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760…
- github.com /postcss/postcss/releases/tag/8.5.18
- github.com /postcss/postcss/security/advisories/GHSA-r28c-9q8g-f849
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning