fix(docs): bump postcss to 8.5.25 to patch source-map path traversal
Merged
AV
3mo ago+15+15+01234567890123456789-3-3-0123456789
Summary
- Bump
postcssdevDependency inapps/docs/package.jsonfrom8.5.18→8.5.25(latest), which includes the8.5.23security patch.
Why / Context
Fixes Dependabot alert #259 (GHSA-fxqj-rqcc-2cmp, CVE-2026-69153, medium severity).
The earlier fix for GHSA-6g55-p6wh-862q added a guard in previous-map.js that rejects absolute paths / .. traversal in an attacker-controlled sourceMappingURL — but that guard only runs when opts.from is set. When PostCSS is invoked without from, the guard is skipped, so a crafted /*# sourceMappingURL=... */ comment could still make PostCSS read an arbitrary .map file off disk and leak its sources/sourcesContent into the generated map. Fixed upstream in 8.5.23.
Manual QA Checklist
- Confirmed alert #259 is scoped to the direct
postcssdevDependency inapps/docs/package.json(only open postcss alert on the repo; #253/#248/#67 are already marked fixed) -
bun.lockresolvespostcssforapps/docsto8.5.25
Testing
bun install(lockfile updated cleanly)bun run typecheck(apps/docs)bun run lint(root)
Known Limitations
- Transitive
postcss@8.5.18/8.4.31copies still exist elsewhere in the tree (via@tailwindcss/postcss,vite,@expo/metro-config,next), but Dependabot isn't currently flagging those as separate alerts, so they're out of scope for this fix.
Summary by cubic
Bump postcss in apps/docs from 8.5.18 to 8.5.25 to patch the source-map path traversal vulnerability and resolve Dependabot alert #259 (GHSA-fxqj-rqcc-2cmp / CVE-2026-69153). Lockfile updated.
Summary by CodeRabbit
- Chores
- Updated the PostCSS development tooling to a newer version.