Skip to content

chore(deps): bump postcss 8.5.6 → 8.5.30 (4 advisories, 2 high) - #708

Open
feafel wants to merge 1 commit into
inkonchain:mainfrom
feafel:chore/bump-postcss
Open

feafel wants to merge 1 commit into
inkonchain:mainfrom
feafel:chore/bump-postcss

Conversation

@feafel

@feafel feafel commented Oct 15, 2026

Copy link
Copy Markdown

What

postcss 8.5.6 → 8.5.30 in package.json (+ lockfile).

Why

pnpm audit reports four advisories against postcss@8.5.6, two of them high severity. All four floors are cleared by 8.5.30:

severity affected patched in issue
high <=8.5.11 8.5.12 arbitrary file read / information disclosure via attacker-controlled source map paths
high <=8.5.17 8.5.18 path traversal in previous source map auto-loading
moderate <8.5.10 8.5.10 XSS via unescaped </style> in CSS stringify output
moderate <=8.5.22 8.5.23 incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled map.content

postcss here is the one behind autoprefixer/tailwindcss, i.e. build-time only, so this is not a runtime exposure on its own — but it is the only direct dependency in this repo with open high-severity advisories, and everything else flagged by audit is transitive through nextra/mermaid/katex and needs upstream releases.

Verification

  • pnpm audit: 88 → 81 findings (54 → 49 high, 28 → 26 moderate); postcss advisories 4 → 0
  • pnpm run lint:js, pnpm run lint:mdx, pnpm run build on the patched tree: all exit 0
  • Lockfile diff is confined to postcss and its transitive deps (nanoid drops out entirely, source-map-js moves to 1.2.2)
  • pnpm --version matches the repo's packageManager field (pnpm@9.12.3), so the lockfile format is unchanged

No other package is touched; autoprefixer/tailwindcss/next are left alone to keep the diff reviewable.

postcss 8.5.6 is affected by four advisories, two of them high:

- GHSA (arbitrary file read / info disclosure via attacker-controlled
  source map paths), patched in 8.5.12
- GHSA (path traversal in previous source map auto-loading), patched
  in 8.5.18
- two moderate advisories (XSS via unescaped </style>, incomplete fix
  of GHSA-6g55-p6wh-862q), patched in 8.5.10 and 8.5.23

8.5.30 is the current release and is above every patched floor.

pnpm audit on this tree: 88 -> 81 findings, postcss advisories 4 -> 0.
postcss is a devDependency (build-time only), so there is no runtime
change; lockfile diff is limited to postcss and its transitive deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants