Skip to content

fix(root): resolve moderate fast-xml-parser and ws vulnerabilities fixes DOC-327#1099

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependency-security-fixes-fec9
Draft

fix(root): resolve moderate fast-xml-parser and ws vulnerabilities fixes DOC-327#1099
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependency-security-fixes-fec9

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 19, 2026

Summary

Resolves two moderate transitive findings from pnpm audit using pnpm.overrides, tracked in DOC-327.

Changes

fast-xml-parser (GHSA-gh4j-gqv2-49f6 / CVE-2026-41650)

  • Advisory: GHSA-gh4j-gqv2-49f6
  • Issue: XMLBuilder did not escape --> in comments or ]]> in CDATA, allowing injection when user-controlled data is passed into those fields.
  • Path: fumadocs-openapiopenapi-samplerfast-xml-parser
  • Strategy B: Replaced the previous fast-xml-parser@<4.5.5 override with fast-xml-parser@<5.7.0^5.7.0 so the tree satisfies patched >=5.7.0.

ws (GHSA-58qx-3vcg-4xpx / CVE-2026-45736)

  • Advisory: GHSA-58qx-3vcg-4xpx
  • Issue: Uninitialized memory disclosure in websocket.close() when a TypedArray is passed as the close reason.
  • Path: @novu/jssocket.io-clientengine.io-clientws
  • Strategy B: Added ws@>=8.0.0 <8.20.1^8.20.1.

Verification

  • pnpm audit --json: advisory IDs 1117911 and 1119108 no longer present.
  • pnpm build and pnpm lint succeed.

Notes

Open in Web View Automation 

…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>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 19, 2026

DOC-327

@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2026

Deploy Preview for docs-novu ready!

Name Link
🔨 Latest commit 3258318
🔍 Latest deploy log https://app.netlify.com/projects/docs-novu/deploys/6a0bfe44e30f0e0008c66d40
😎 Deploy Preview https://deploy-preview-1099--docs-novu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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