Skip to content

fix(deps): clear HIGH dependency-audit backlog (xmldom override floor) - #23

Merged
acamarata merged 1 commit into
mainfrom
fix/audit-high-xmldom-browserslist-p6
Sep 12, 2026
Merged

acamarata merged 1 commit into
mainfrom
fix/audit-high-xmldom-browserslist-p6

Conversation

@acamarata

Copy link
Copy Markdown
Contributor

Summary

  • The pre-existing workspace-root pnpm.overrides pin for @xmldom/xmldom was >=0.8.13, which was still satisfied by the resolved 0.9.10 and left 11 HIGH-severity GHSA advisories open (xmldom, reachable via expo-local-authentication > expo > @expo/cli > @expo/plist).
  • Raised the floor to >=0.9.12, the first patched xmldom release, so every resolution in the dependency tree lands on a fixed version. This is the same override-at-workspace-root pattern already used for the rest of the entries in this block (overrides declared inside an individual package have no effect here).
  • The two browserslist HIGH advisories (GHSA-c83g-rgw3-j3cx, GHSA-73wf-gq98-2v4g) were already fixed on main by a prior merge; this PR only adds the xmldom fix on top.
  • A direct-dependency bump was considered first per policy but isn't viable: the only tree that drops xmldom without an override requires jumping expo-local-authentication from its current SDK-51-era 14.0.1 to the latest 57.x, which also forces expo-notifications and expo-secure-store to matching SDK releases -- a full native-module migration, out of scope for a dependency-audit fix.

Verification

  • pnpm audit --audit-level=high -> exit 0 (previously exit 1, 13 HIGH advisories at the branch point). Two pre-existing ignored CVEs in pnpm.auditConfig.ignoreCves (CVE-2025-71330, CVE-2025-71329) are untouched and unrelated to the findings fixed here.
  • pnpm typecheck -> clean
  • pnpm build -> 18/18 tasks successful
  • pnpm test --filter "@nself/*" -> 29/29 tasks successful

Remaining, out of scope (below the HIGH gate threshold)

  • decode-uri-component (moderate, GHSA-vcc3-ghjq-m6fr) via the same expo/@react-navigation chain
  • vitest / @vitest/mocker (moderate, GHSA-82fw-gwwq-j7x9) -- the existing vitest: >=3.2.6 override already pins the floor; the patched release is above what's currently tagged latest, left for a follow-up since it doesn't break the audit-level=high gate.

Test plan

  • pnpm audit --audit-level=high
  • pnpm typecheck
  • pnpm build
  • pnpm test --filter "@nself/*"

…findings

The workspace-root pnpm.overrides pin for @xmldom/xmldom was >=0.8.13,
which stayed satisfied by 0.9.10 and left 11 HIGH GHSA advisories open
(reachable via expo-local-authentication>expo>@expo/cli>@expo/plist).
Raise the floor to >=0.9.12, the first patched release, so every
resolution in the tree lands on a fixed version.

No direct-dependency bump was viable here: the only path that drops
xmldom without an override is jumping expo-local-authentication from
its current SDK-51-era 14.0.1 to the latest 57.x line, which also
forces expo-notifications and expo-secure-store to matching SDK
releases -- a full native-module migration, not a dependency-audit fix.

pnpm audit --audit-level=high now exits 0 (2 pre-existing ignored CVEs
aside, unrelated and untouched). Verified with pnpm typecheck, pnpm
build, and pnpm test --filter "@nself/*" -- all green.
@acamarata
acamarata merged commit 01d4dde into main Sep 12, 2026
5 checks passed
@acamarata
acamarata deleted the fix/audit-high-xmldom-browserslist-p6 branch September 12, 2026 14:41
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