Skip to content

fix(security): bump postcss to 8.5.23 to resolve HIGH audit finding - #91

Merged
okso-hub merged 1 commit into
mainfrom
fix/security-audit-postcss
Jul 24, 2026
Merged

fix(security): bump postcss to 8.5.23 to resolve HIGH audit finding#91
okso-hub merged 1 commit into
mainfrom
fix/security-audit-postcss

Conversation

@okso-hub

Copy link
Copy Markdown
Member

Warum main rot ist

Der Security-Job der main-Pipeline (npm audit --audit-level=high --omit=dev) schlägt auf GHSA-r28c-9q8g-f849 an — eine HIGH Path-Traversal-Lücke im Source-Map-Auto-Loading von PostCSS (postcss <= 8.5.17). PostCSS ist eine transitive Dependency (via vite, tailwindcss, autoprefixer, @vue/compiler-sfc).

Nicht durch ein Feature verursacht: Type Check, Test und Coverage waren im Merge-Run von #90 alle grün — nur npm audit war rot. Die Advisory wurde offenbar zwischen dem grünen PR-Run und dem Merge-Run veröffentlicht, weil npm audit gegen die Live-Advisory-DB prüft. Deshalb war der PR grün und main danach rot, ohne dass sich Quellcode geändert hat.

Fix

npm audit fix bumpt das deduped postcss auf 8.5.23.

  • Nur package-lock.json geändert — keine Range-Änderung in package.json.
  • Patch-Level innerhalb 8.5.x, kein Breaking Change.
  • postcss ist build-time (Tailwind/Vite), kein Runtime-Code-Pfad betroffen.

Verifikation (lokal)

  • npm audit --audit-level=high --omit=devfound 0 vulnerabilities
  • vue-tsc --noEmit → clean
  • vitest --run101 passed, 26 skipped

The main pipeline's Security job (``npm audit --audit-level=high
--omit=dev``) fails on GHSA-r28c-9q8g-f849 — a HIGH path-traversal in
PostCSS's source-map auto-loading (affects postcss <= 8.5.17). postcss
is a transitive dependency (vite, tailwindcss, autoprefixer, vue's
compiler-sfc all pull it in).

Run ``npm audit fix`` to bump the deduped postcss to 8.5.23. No
package.json range changes — lockfile only, patch-level within 8.5.x,
no breaking change. ``npm audit --audit-level=high --omit=dev`` now
reports 0 vulnerabilities; type-check and the unit suite (101 passed)
stay green.

The advisory was published between the feature PR's green run and the
merge run, which is why main went red without any source change.
@okso-hub okso-hub added the security Security / vulnerability management label Jul 24, 2026
@okso-hub okso-hub self-assigned this Jul 24, 2026
@okso-hub
okso-hub merged commit c365f49 into main Jul 24, 2026
9 checks passed
@okso-hub
okso-hub deleted the fix/security-audit-postcss branch July 24, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security / vulnerability management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant