Problem Statement
npm audit in frontend/ reports 4 moderate transitive vulnerabilities with no safe upgrade path on the current dependency tree:
| Vuln |
Path |
Notes |
postcss (next dev tree) |
node_modules/next/node_modules/postcss |
Auto-fix would downgrade next to 9.3.3 — breaking, unacceptable (currently 16.1.6). Fix must come from upstream Next.js bumping its bundled postcss. |
uuid <14.0.0 (advisory GHSA-w5hq-g745-h8pq, missing buffer bounds check in v3/v5/v6) |
node_modules/@lhci/cli/node_modules/uuid |
Auto-fix downgrades @lhci/cli to 0.6.1 — breaking, unacceptable (project relies on current LHCI for Lighthouse CI). Fix must come from upstream LHCI bumping its bundled uuid. |
Both are dev-only / build-chain dependencies — no production runtime exposure. Severity is moderate. Risk is low but not zero (e.g., compromised CI machine).
Why this is a tracking issue, not an immediate fix
Per npm audit fix --force, Node would install:
next@9.3.3 (15 major versions back, security CVEs in older Next, breaking compatibility with React 18+, app router, middleware, etc.)
@lhci/cli@0.6.1 (incompatible with current Lighthouse CI workflow, would break bundle-size.yml and quality-gate.yml)
Neither downgrade is acceptable. The fix must come from upstream releasing patch versions that re-bundle non-vulnerable transitives.
Acceptance criteria (for closure)
Monitoring plan
Priority
P3 — moderate severity, dev-only, no safe fix path. Monitor only.
Related precedent
Problem Statement
npm auditinfrontend/reports 4 moderate transitive vulnerabilities with no safe upgrade path on the current dependency tree:postcss(next dev tree)node_modules/next/node_modules/postcssnextto 9.3.3 — breaking, unacceptable (currently 16.1.6). Fix must come from upstream Next.js bumping its bundled postcss.uuid <14.0.0(advisory GHSA-w5hq-g745-h8pq, missing buffer bounds check in v3/v5/v6)node_modules/@lhci/cli/node_modules/uuid@lhci/clito 0.6.1 — breaking, unacceptable (project relies on current LHCI for Lighthouse CI). Fix must come from upstream LHCI bumping its bundled uuid.Both are dev-only / build-chain dependencies — no production runtime exposure. Severity is moderate. Risk is low but not zero (e.g., compromised CI machine).
Why this is a tracking issue, not an immediate fix
Per
npm audit fix --force, Node would install:next@9.3.3(15 major versions back, security CVEs in older Next, breaking compatibility with React 18+, app router, middleware, etc.)@lhci/cli@0.6.1(incompatible with current Lighthouse CI workflow, would breakbundle-size.ymlandquality-gate.yml)Neither downgrade is acceptable. The fix must come from upstream releasing patch versions that re-bundle non-vulnerable transitives.
Acceptance criteria (for closure)
npm audit --audit-level=moderatereports0 moderate, 0 high, 0 criticalinfrontend/.postcss→ bump in framework Dependabot group.uuid→ bump via Dependabot.Monitoring plan
nextand@lhci/cli.npm auditweekly via existingdependency-audit.ymlworkflow (already runs).npm-force-resolutionsor temporaryoverridesblock (seetmp@>=0.2.4precedent in PR security(deps): force tmp>=0.2.4 via overrides to close CVE-2025-54798 #1030).Priority
P3 — moderate severity, dev-only, no safe fix path. Monitor only.
Related precedent
overridesblock inpackage.jsonto force-patchtmp >= 0.2.4(CVE-2025-54798). Same mechanism could be applied here if upstream remains unresponsive and severity escalates, but only as last resort — overrides are fragile acrossnpm installon different OSes (see Windows lockfile fragility note in copilot-instructions.md §13).