Skip to content

fix: patch @xmldom/xmldom XML injection vulnerability (APS-18524)#17

Merged
karanshah-browserstack merged 2 commits intobrowserstack:mainfrom
avinash-bharti:fix/APS-18524-xmldom-xml-injection
Apr 17, 2026
Merged

fix: patch @xmldom/xmldom XML injection vulnerability (APS-18524)#17
karanshah-browserstack merged 2 commits intobrowserstack:mainfrom
avinash-bharti:fix/APS-18524-xmldom-xml-injection

Conversation

@avinash-bharti
Copy link
Copy Markdown
Contributor

@avinash-bharti avinash-bharti commented Apr 16, 2026

Summary

  • Adds npm override for @xmldom/xmldom >= 0.9.9 to fix GHSA-wh4c-j3r5-mjhp (XML injection via unsafe CDATA serialization, CVSS 7.5)
  • @xmldom/xmldom is a transitive dev dependency (0.9.8 → 0.9.9)

Testing

npm audit

  • @xmldom/xmldom vulnerability no longer appears in npm audit output after override applied

BrowserStack Session Test (PASSED)

Dependency verification

  • @xmldom/xmldom resolves to 0.9.9 with the override
  • All other dependencies (codeceptjs, playwright, browserstack-node-sdk) remain at same versions

Note

package-lock.json is in .gitignore for this repo. After merging, run npm install to get the updated dependency resolution.

Jira: APS-18524

🤖 Generated with Claude Code

@avinash-bharti avinash-bharti requested a review from a team as a code owner April 16, 2026 14:00
… (APS-18524)

Adds npm override for @xmldom/xmldom >=0.9.9 to fix GHSA-wh4c-j3r5-mjhp
(XML injection via unsafe CDATA serialization, CVSS 7.5).
The package is a transitive dev dependency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avinash-bharti avinash-bharti force-pushed the fix/APS-18524-xmldom-xml-injection branch from 363c51f to c258b9d Compare April 17, 2026 09:19
@karanshah-browserstack karanshah-browserstack merged commit dfb1b20 into browserstack:main Apr 17, 2026
2 checks passed
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.

2 participants