Repository navigation
Update dependency postcss to v8.5.23 [SECURITY] - #623
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
August 6, 2026 21:03
c5c108d to
38704ad
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
August 6, 2026 23:35
38704ad to
85ffe03
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
August 11, 2026 18:11
85ffe03 to
c062462
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
August 13, 2026 05:10
c062462 to
152bd2b
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
August 13, 2026 20:44
152bd2b to
d87aa38
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
August 13, 2026 21:53
d87aa38 to
a72509e
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 1, 2026 17:23
a72509e to
2a1dfff
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 1, 2026 21:59
2a1dfff to
e0bab83
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 4, 2026 15:25
e0bab83 to
dd2d719
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 8, 2026 00:25
dd2d719 to
978ea63
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 12, 2026 02:00
978ea63 to
1446b48
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 13, 2026 21:03
1446b48 to
da813c6
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
September 17, 2026 16:37
da813c6 to
2dbecd2
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 20, 2026 00:47
6bc111d to
b8d5b09
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 20, 2026 17:15
b8d5b09 to
e792ef4
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 20, 2026 17:32
e792ef4 to
089710d
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 22, 2026 11:43
089710d to
1e3db05
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 23, 2026 18:26
1e3db05 to
327941f
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 23, 2026 18:31
327941f to
c83b4c1
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 26, 2026 14:44
c83b4c1 to
45747c7
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 28, 2026 00:08
45747c7 to
116f47f
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 29, 2026 05:43
116f47f to
726ef62
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 30, 2026 05:20
726ef62 to
b0cbf07
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
October 30, 2026 21:45
b0cbf07 to
c50eca2
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
November 17, 2026 01:12
c50eca2 to
4f01184
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
November 20, 2026 04:41
4f01184 to
61cc7db
Compare
renovate
Bot
force-pushed
the
renovate/npm-postcss-vulnerability
branch
from
November 25, 2026 03:34
61cc7db to
f274ab4
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.5.19→8.5.23PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when
fromis unsetCVE-2026-69153 / GHSA-fxqj-rqcc-2cmp
More information
Details
Summary
The fix for GHSA-6g55-p6wh-862q added a guard in
lib/previous-map.jsPreviousMap.loadFile()that restricts an attacker-controlledsourceMappingURL(from a CSS comment) to a.mapextension and, for untrusted maps, rejects..traversal and absolute paths. The traversal/absolute rejection is nested insideif (cssFile) { ... }. When PostCSS is invoked without thefromoption,cssFileis falsy and that branch is skipped, leaving only the.mapextension check.PreviousMapis constructed bylib/input.jswheneverpathAvailable && sourceMapAvailable(under Node with source-map available), independent ofopts.from/opts.map(the constructor returns early only foropts.map === false). Sopostcss([]).process(css)on attacker CSS reachesloadFilewithcssFileundefined, and an attacker/*# sourceMappingURL=/abs/path/x.map */(or../-traversing path) is read viareadFileSync. When the file is valid JSON, itssources(filesystem paths) andsourcesContent(source contents) are disclosed in the generated source map.Affected code (v8.5.22 — the release carrying the GHSA-6g55 fix)
Proof of concept (verified on postcss 8.5.22)
Observed output on postcss 8.5.22:
../traversal (nofrom) also succeeds; non-.maptargets (.txt,?x=.map,#.map) are blocked by the.mapcheck. The tested build contains the GHSA-6g55 fix (this.json = JSON.parse(...)inloadMap,consumer()usesthis.json || this.text), so this is a residual of that fix.Impact
Arbitrary
.map-file read (absolute path or../traversal) and disclosure of the target map'ssources(local filesystem paths) andsourcesContent(source) into the generated source map, for any consumer that runs PostCSS on attacker-influenced CSS without afromoption and exposesresult.map(online CSS playgrounds, minify/lint services, string-input build steps). Bounded to files ending in.mapthat parse as JSON.Suggested fix
Apply the traversal/absolute-path rejection to the untrusted map path regardless of whether
cssFileis present (resolve againstprocess.cwd()when there is nocssFile, and reject absolute paths and..escape in all untrusted cases), or refuse to load an untrusted external map when no base file is known.Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
postcss/postcss (postcss)
v8.5.23Compare Source
opts.fromfor security reasons.v8.5.22Compare Source
v8.5.21Compare Source
v8.5.20Compare Source
AtRule#paramsis set after (by @sarathfrancis90).Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.