postcss
8.5.33 · 13 Nov 2026MIT443.1M / weekRepositoryHomepagenpmAtom feed
Upgrading postcss From 6.0.21 to 8.5.23
169 releases in betweenevery note read
Reading releases, release notes and advisories…
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Security
Fixes 6 advisories affecting 6.0.21
- PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unsetmoderate · GHSA-fxqj-rqcc-2cmp
- PostCSS has XSS via Unescaped </style> in its CSS Stringify Outputmoderate · GHSA-qx2v-qp2m-jg93
- PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosurehigh · GHSA-r28c-9q8g-f849
- Regular Expression Denial of Service in postcssmoderate · GHSA-566m-qj78-rww5
- PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS commentshigh · GHSA-6g55-p6wh-862q
- PostCSS line return parsing errormoderate · GHSA-7fh5-64p2-3v2j
- 8.5.10
Fixed XSS via unescaped
</style>in non-bundler cases - 8.4.31
Fixed
\rparsing to fix CVE-2023-44270. - 8.2.13
Fixed ReDoS vulnerabilities in source map parsing
- 8.2.10
Fixed ReDoS vulnerabilities in source map parsing.
- 7.0.36
Backport ReDoS vulnerabilities from PostCSS 8.
Release by release
- Fixed
Do not load source map without
opts.fromfor security reasons.
- Fixed
- Fixed
Fixed custom property losing semicolon before a comment
- Fixed
- Fixed
Fixed childless at-rule losing semicolon before comment
- Fixed
Fixed docs
- Fixed
- Fixed
Fixed missing space if
AtRule#paramsis set after - Fixed
Fixed mixing AST error on warnings
- Fixed
- Fixed
Fixed cleaning
beforefor new nodes inserted toRoot
- Fixed
8.5.18nothing new or fixed in the note
- Fixed
Fixed
Maximum call stack size exceedederror. - Fixed
Fixed Prototype hijacking for
postcss.fromJSON(). - Fixed
Fixed
Input#origin()for unmapped end position
- Fixed
- Fixed
Fixed
Input#origin()position - Fixed
Fixed
rawsafter rehydrating a JSON AST - Fixed
Fixed putting parent-less node in
nodesof new node - Fixed
Fixed computing
offsetinpositionBy() - Fixed
Fixed
rangeBy()onindex: 0
- Fixed
53 other lines we could not sort, mostly version bumps
- 8.5.18
Restricted loading previous source maps file to the
opts.fromfolder for security reasons (useunsafeMap: trueto disable the check). - 8.5.7
Improved source map annotation cleaning performance (by CodeAnt AI).
- 8.4.47
Removed debug code.
- 8.4.45
Removed unnecessary fix which could lead to infinite loop.
- 8.4.44
Another way to fix
markClean is not a functionerror. - 8.4.41
Cleaned up RegExps
- 8.4.40
Moved to getter/setter in nodes types to help Sass team
- 8.4.34
Cleaned up code
- 8.4.30
Improved source map performance
- 8.4.25
Improve stringify performance
1 internal line (docs, tests, tooling) left out.
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.