Repository navigation
chore(mobile): patch XML parser security in plist tooling - #19380
Conversation
|
Local validation complete for 9da8dbe:
Mobile CI is pending; it also checks Ruby/fastlane release tooling on Linux. Local lockfile formatting is excluded by the existing formatter configuration; |
|
Ready for review at Mobile CI is green on Linux: 4,204 tests passed / 3 skipped / 516 files, typecheck, lint, formatting, frozen Node and Ruby installs, 15 Ruby tests / 32 assertions, and loading the real fastlane lanes. Root PR checks also passed the applicable mobile-only gates. Together with the local iOS/Android/web production exports and real plist/security checks documented above, this supports merging the two tooling patch resolutions. No native module changes or native device test claim. Remaining audit findings are explicitly disclosed in the body. |
|
Additional combined-candidate validation (local, macOS arm64): merged #19361, #19369, #19377, #19378, #19362, #19380 and #19382 into local commit
All commands used |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
@xmldom/xmldom0.8.13 → 0.8.15 — patched for@expo/[email protected]and@expo/[email protected].@xmldom/xmldom0.9.10 → 0.9.12 — patched for[email protected].
Verified the two new integrity hashes byte-for-byte against registry.npmjs.org, and confirmed the mobile lockfile is internally consistent (no stale 0.8.13 / 0.9.10 references remain). Both versions match the upstream patched releases for GHSA-6gmq-8vp8-gcm6. The change is lockfile-only with no runtime behavior surface.
ℹ️ Root workspace still resolves the vulnerable 0.8.13
The desktop/Electron workspace's pnpm-lock.yaml still resolves @xmldom/[email protected] via [email protected] (a build-time dependency of @electron/universal, @electron/rebuild, and @electron/windows-sign). That instance is covered by the same advisory, so the desktop dependency audit remains at its current finding count until its own bump lands. This is correctly out of scope for this mobile-only PR, but worth ensuring the desktop PR actually ships rather than being forgotten.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

Ready for review. Final validation evidence: 4,204 mobile tests and 15 Ruby release-tooling tests pass in CI; all three local production exports and actual plist/security checks pass.
ELI5
Update only the two transitive XML parsers used by mobile plist tooling:
@xmldom/xmldom0.8.13 → 0.8.15 and 0.9.10 → 0.9.12. This closes the creation-time EntityReference injection vector in GHSA-6gmq-8vp8-gcm6. Mobile audit findings decrease from 5 to 3.What Changed
Only
mobile/pnpm-lock.yaml: both maintained xmldom patch lines, with registry integrity hashes. Expo plist 0.5.3/0.5.4 and plist 3.1.1 retain their existing compatible dependency ranges. No Expo, React Native, native module, protocol or application code changes.Why / safety assessment
Upstream 0.8.15 and 0.9.12 reject invalid names at
createEntityReference()and validate mutated names when well-formed serialization is requested. Ordinary plist values, nested dictionaries, arrays, booleans, numbers, Unicode and escaped XML text are covered by actual consumer roundtrips.This is defense in depth for tooling, not a claim of an exposed Orca exploit. Serializer protection for a subsequently mutated
nodeNameremains opt-in: 0.8 usesserializeToString(node, false, undefined, {requireWellFormed:true}); 0.9 usesserializeToString(node, {requireWellFormed:true}). The creation-time check is automatic. Both forms were exercised against installed packages.Remaining audit findings are two image-size advisories with no published patched version and decode-uri-component requiring a separate 0.5 migration. They are not hidden with incompatible overrides.
Testing
Local macOS arm64,
ORCA_BACKGROUND_LAUNCH=1:pnpm --dir mobile typecheck: passed.pnpm --dir mobile lint: passed.expo config --type prebuild --json: passed, without writing native projects.git diff --check: passed; exactly two resolved packages changed.CI and all-platform JS export evidence is linked above. No native device/emulator run is claimed; no native dependency changes.
Linked Issue
User-requested dependency security review.
Visual Proof
N/A — lockfile-only tooling update.
Review
Independent of the desktop, cloud, Electron and editor dependency PRs. No SSH, folder workspace, remote-wire or provider behavior changes.