Skip to content

fix(root): resolve moderate ajv and brace-expansion vulnerabilities fixes DOC-325#1097

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

fix(root): resolve moderate ajv and brace-expansion vulnerabilities fixes DOC-325#1097
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependency-security-fixes-2a1d

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 17, 2026

Linear

DOC-325

Summary

Addresses three pnpm audit advisories. Open PR #1095 already covers babel/postcss/mdast; this change targets the next fixable items.

Changes

  1. ajv (eslint, advisory 1113714)GHSA-2g4f-4pwh-qvx6 / CVE-2025-69873 (ReDoS with $data). Strategy B: pnpm.overrides entry ajv@<6.14.0^6.14.0.

  2. ajv (@scalar/openapi-parser, advisory 1113715) — same GHSA for the 8.x line. Strategy B: scoped override @scalar/openapi-parser>ajv^8.18.0 so ajv 8 is not hoisted where @novu/framework expects ajv 6 (avoids a broad ajv@>=7 <8.18 override).

  3. brace-expansion (advisory 1115540)GHSA-f886-m6hf-6m8v / CVE-2026-33750 (zero-step sequence hang). Strategy B: brace-expansion@<1.1.13^1.1.13.

Verification

  • pnpm install --no-frozen-lockfile
  • Confirmed advisory IDs 1113714, 1113715, and 1115540 are absent from pnpm audit --json
  • pnpm build succeeds
Open in Web View Automation 

…ixes DOC-325

- GHSA-2g4f-4pwh-qvx6 (CVE-2025-69873): pnpm overrides for eslint ajv 6.x
  (^6.14.0) and @scalar/openapi-parser>ajv (^8.18.0) to avoid hoisting ajv 8
  where @novu/framework expects ajv 6.
- GHSA-f886-m6hf-6m8v (CVE-2026-33750): override brace-expansion to ^1.1.13.

Strategy: pnpm overrides (transitive fixes).

Co-authored-by: Dima Grossman <dima@grossman.io>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 17, 2026

DOC-325

@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2026

Deploy Preview for docs-novu ready!

Name Link
🔨 Latest commit 4c82f27
🔍 Latest deploy log https://app.netlify.com/projects/docs-novu/deploys/6a095aa4da00fd0008113b2b
😎 Deploy Preview https://deploy-preview-1097--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