postcss
8.5.33 · 13 Nov 2026MIT443.1M / weekRepositoryHomepagenpmAtom feed
Your version
8.5.33 is the newest release of 8.x.
Security
4 advisories affect 8.5.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
Release note
PostCSS 8.5 brought API to work better with non-CSS sources like HTML, Vue.js/Svelte sources or CSS-in-JS.
@romainmenke during his work on Stylelint added Input#document in additional to Input#css.
root.source.input.document //=> "<p>Hello</p>
// <style>
// p {
// color: green;
// }
// </style>"
root.source.input.css //=> "p {
// color: green;
// }"
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.