Add security overrides for @xmldom/xmldom and postcss#579
Merged
Conversation
Adds package.json overrides to force patched versions of two vulnerable transitive build-tool dependencies: - @xmldom/xmldom >=0.8.13: fixes 5 HIGH CVEs (XML injection CVSS 7.5, DoS, node injection via CDATA/comments/processing instructions). All within the same major version — no API break. - postcss >=8.5.10: fixes GHSA-qx2v-qp2m-jg93 (XSS via unescaped </style>, CVSS 6.1). Same major v8.x — no API break. Both packages appear only in Expo/Metro build tooling, not the app bundle shipped to users. Reduces npm audit from 6 HIGH + 22 MODERATE to 0 HIGH + 28 MODERATE. Remaining MODERATE items require Expo SDK 56 or have no upstream fix available. uuid (<11.1.1) override was evaluated and deferred — forcing v9→v11 risks breaking the native iOS xcode npm package used by @expo/config-plugins. https://claude.ai/code/session_01XBXfKYaVBm1xmeaSQqvTnK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add npm package overrides for
@xmldom/xmldomandpostcssto enforce minimum secure versions and mitigate potential vulnerabilities in transitive dependencies.Type of Change
Changes Made
@xmldom/xmldomoverride with minimum version>=0.8.13postcssoverride with minimum version>=8.5.10Security Considerations
Testing Performed
Automated Testing
Checklist
Additional Notes
These overrides ensure that even if transitive dependencies pull in older versions of
@xmldom/xmldomorpostcss, npm will resolve to the specified secure versions instead.https://claude.ai/code/session_01XBXfKYaVBm1xmeaSQqvTnK