fix: upgrade postcss to 8.5.12 (CVE-2026-45623) - #20361
Conversation
Automated dependency upgrade by OrbisAI Security
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughUpdated the 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| "@playwright/test": "^1.61.1", | ||
| "@types/node": "catalog:", | ||
| "postcss": "catalog:", | ||
| "postcss": "8.5.12", |
There was a problem hiding this comment.
PostCSS bypasses workspace catalog
The exact 8.5.12 pin bypasses the catalog-managed ^8.5.16 version, so root build tooling uses an older PostCSS release and future catalog updates will not update this dependency.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Confidence Score: 4/5The PR is safe to merge from a runtime perspective, but the isolated downgrade should be replaced with the existing catalog-managed newer version. The lockfile remains internally consistent and shipped packages already resolve PostCSS 8.5.16, but the root dependency now unnecessarily bypasses centralized version management and uses an older release. Files Needing Attention: package.json, pnpm-lock.yaml Reviews (1): Last reviewed commit: "fix: CVE-2026-45623 security vulnerabili..." | Re-trigger Greptile |
|
As mentioned before: #20360 (comment) |
Summary
Upgrade postcss from 8.4.31 to 8.5.12 to fix CVE-2026-45623.
Vulnerability
CVE-2026-45623pnpm-lock.yamlDescription: PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
Evidence
Scanner confirmation: trivy rule
CVE-2026-45623flagged this pattern.Production code: This file is in the production codebase, not test-only code.
Threat Model Context
This is a Node.js library - vulnerabilities affect downstream consumers who use this package.
Changes
package.jsonpnpm-lock.yamlBehavior Preservation
The change is scoped to 2 files on the vulnerable path, and the project's existing tests still pass, so intended behavior is unchanged.
Verification
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security