postcss
8.5.33 · 13 Nov 2026MIT443.1M / weekRepositoryHomepagenpmAtom feed
Upgrading postcss From 8.4.41 to 8.5.23
32 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 4
- advisories fixed
- 3
- new
- 32
- fixes
Security
Fixes 4 advisories affecting 8.4.41
- 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
- PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS commentshigh · GHSA-6g55-p6wh-862q
- 8.5.10
Fixed XSS via unescaped
</style>in non-bundler cases
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
5 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.
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.