postcss
8.5.33 · 13 Nov 2026MIT443.1M / weekRepositoryHomepagenpmAtom feed
7.0.39 is the newest release of 7.x.
In short
1 new1 changed
Security
7 advisories affect 7.0.0; 8.5.23 fixes them
- HighPostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File DisclosureGHSA-r28c-9q8g-f849 · 24 Jul 2026Fixed in 8.5.18
- HighPostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS commentsGHSA-6g55-p6wh-862q · 23 Jul 2026Fixed in 8.5.12
- ModeratePostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unsetGHSA-fxqj-rqcc-2cmp · 3 Aug 2026Fixed in 8.5.23
- ModeratePostCSS has XSS via Unescaped </style> in its CSS Stringify OutputGHSA-qx2v-qp2m-jg93 · 24 Apr 2026Fixed in 8.5.10
- ModeratePostCSS line return parsing errorGHSA-7fh5-64p2-3v2j · 30 Sep 2023Fixed in 8.4.31
2 more
- ModerateRegular Expression Denial of Service in postcssGHSA-566m-qj78-rww5 · 7 Jan 2022Fixed in 7.0.36
- ModerateRegular Expression Denial of Service in postcssGHSA-hwj9-h5mp-3pm3 · 10 May 2021Fixed in 7.0.36
Release note
PostCSS 7.0 dropped Node.js 4 support and brought small features.
Breaking Changes
We removed Node.js 4 and Node.js 9 support since it doesn’t have security updates anymore.
We removed IE and “dead” browsers (without security updates) from Babel’s Browserslist. Don't worry, PostCSS still generate IE-compatible code. These changes affect websites which run PostCSS on client-side like CodePen.
last 2 version not dead not Explorer 11 not ExplorerMobile 11 node 10 node 8 node 6
New Features
@nikhilgaba added cute thing for plugin developers. If an error was happened in Container#walk() circle, PostCSS will show in stack trace CSS node, which causes this error:
TypeError: Cannot read property '0' of undefined
at /home/ai/Dev/test/app.css:10:4
at plugin (plugin.js:2:4)
at runPostCSS (runner.js:2:1)@igorkamyshev added finally method to LazyResult to make it compatible with the latest Promise API.
Other Changes
Client-side size was reduced by Size Limit feedback.
Add warning on calling PostCSS without plugins and syntax options.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.