fix(root): resolve moderate fast-xml-parser and ws vulnerabilities fixes DOC-327#1099
Draft
cursor[bot] wants to merge 1 commit into
Draft
fix(root): resolve moderate fast-xml-parser and ws vulnerabilities fixes DOC-327#1099cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
…xes DOC-327 Advisories: - GHSA-gh4j-gqv2-49f6 (CVE-2026-41650): fast-xml-parser XMLBuilder comment/CDATA delimiter injection when building XML from untrusted object data. Transitive path: fumadocs-openapi > openapi-sampler > fast-xml-parser. Strategy B: replace the prior fast-xml-parser override with a range that forces ^5.7.0 for all versions below 5.7.0. - GHSA-58qx-3vcg-4xpx (CVE-2026-45736): ws uninitialized memory disclosure when TypedArray is used as WebSocket close reason. Transitive path: @novu/js > socket.io-client > engine.io-client > ws. Strategy B: pnpm override ws@>=8.0.0 <8.20.1 to ^8.20.1. Linear: DOC-327 Co-authored-by: Dima Grossman <dima@grossman.io>
✅ Deploy Preview for docs-novu ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Summary
Resolves two moderate transitive findings from
pnpm auditusingpnpm.overrides, tracked in DOC-327.Changes
fast-xml-parser (GHSA-gh4j-gqv2-49f6 / CVE-2026-41650)
-->in comments or]]>in CDATA, allowing injection when user-controlled data is passed into those fields.fumadocs-openapi→openapi-sampler→fast-xml-parserfast-xml-parser@<4.5.5override withfast-xml-parser@<5.7.0→^5.7.0so the tree satisfies patched>=5.7.0.ws (GHSA-58qx-3vcg-4xpx / CVE-2026-45736)
websocket.close()when aTypedArrayis passed as the close reason.@novu/js→socket.io-client→engine.io-client→wsws@>=8.0.0 <8.20.1→^8.20.1.Verification
pnpm audit --json: advisory IDs 1117911 and 1119108 no longer present.pnpm buildandpnpm lintsucceed.Notes
patched_versionsis<0.0.0(no published fix).