Skip to content

fix: upgrade postcss to 8.5.18 (GHSA-r28c-9q8g-f849) - #1477

Open
anupamme wants to merge 1 commit into
colbymchenry:mainfrom
anupamme:fix-repo-codegraph-ghsa-r28c-9q8g-f849-postcss
Open

fix: upgrade postcss to 8.5.18 (GHSA-r28c-9q8g-f849)#1477
anupamme wants to merge 1 commit into
colbymchenry:mainfrom
anupamme:fix-repo-codegraph-ghsa-r28c-9q8g-f849-postcss

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade postcss from 8.5.15 to 8.5.18 to fix GHSA-r28c-9q8g-f849.

Vulnerability

Field Value
ID GHSA-r28c-9q8g-f849
Severity HIGH
Scanner trivy
Rule GHSA-r28c-9q8g-f849
File site/package-lock.json
Assessment Pattern match — needs manual review

Description: PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure

Evidence

Scanner confirmation: trivy rule GHSA-r28c-9q8g-f849 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Changes

  • site/package.json
  • site/package-lock.json

Behavior 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

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

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

Automated dependency upgrade by OrbisAI Security
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.

1 participant