postcss
8.5.33 · 13 Nov 2026MIT443.1M / weekRepositoryHomepagenpmAtom feed
Upgrading postcss From 8.5.5 to 8.5.23
18 releases in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 4
- advisories fixed
- 2
- new
- 22
- fixes
Security
Fixes 4 advisories affecting 8.5.5
- 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
2 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).
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.