Skip to content

fix(root): resolve form-data, esbuild, and @babel/core dependency vulnerabilities fixes DOC-357#1131

Merged
scopsy merged 1 commit into
mainfrom
cursor/docsrepo-security-vulnerabilities-2ed8
Jun 17, 2026
Merged

fix(root): resolve form-data, esbuild, and @babel/core dependency vulnerabilities fixes DOC-357#1131
scopsy merged 1 commit into
mainfrom
cursor/docsrepo-security-vulnerabilities-2ed8

Conversation

@cursor

@cursor cursor Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Scheduled dependency security audit fixes for three actionable advisories not covered by open PRs #1117 and #1124.

Linear: DOC-357

Fixed vulnerabilities

Package Severity Advisory Strategy
form-data high GHSA-hmw2-7cc7-3qxx pnpm override form-data@>=4.0.0 <4.0.6^4.0.6 (transitive via @inkeep/cxkit-react)
esbuild high GHSA-gv7w-rqvm-qjhr pnpm override esbuild@>=0.17.0 <0.28.1^0.28.1 (transitive via tsx)
@babel/core low GHSA-4x5r-pxfx-6jf8 pnpm override @babel/core@<=7.29.0^7.29.6 (transitive via @svgr/webpack)

Validation

  • pnpm audit — advisories 1120743, 1120679, 1120793 no longer reported
  • pnpm build — passed

Skipped (already in open PRs)

Skipped (not safely fixable)

  • js-yaml (moderate) — forcing ^4.2.0 breaks gray-matter which requires js-yaml 3.x API (yaml.safeLoad)
Open in Web View Automation 

Greptile Summary

  • Updates pnpm dependency overrides to remediate targeted advisories for form-data, esbuild, and @babel/core.
  • Refreshes pnpm-lock.yaml to reflect the updated transitive dependency resolutions.
  • Keeps the changes scoped to package metadata and workspace dependency resolution.

Confidence Score: 5/5

The dependency metadata updates are narrowly scoped and align with the stated vulnerability remediation.

The changes are limited to package override and lockfile resolution updates, with no application code paths modified.

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex captured the pre-change dependency state, noting the base override and the installed versions of form-data, esbuild, and @babel/core, along with the initial audit advisories.
  • T-Rex applied head overrides and updated the installed versions to @babel/core@7.29.7, esbuild@0.28.1, and form-data@4.0.6, with the audit reporting 9 unrelated vulnerabilities and no advisory URLs.
  • T-Rex attempted the production build twice with pnpm build, but both runs were killed (exit code 137) due to environment limits, blocking practical build validation.

View all artifacts

T-Rex Ran code and verified through T-Rex

Reviews (1): Last reviewed commit: "fix(root): resolve form-data, esbuild, a..." | Re-trigger Greptile

…nerabilities fixes DOC-357

- form-data (high): widen override to ^4.0.6 for CRLF injection fix
  Advisory: GHSA-hmw2-7cc7-3qxx
  Strategy: pnpm override (transitive via @inkeep/cxkit-react)

- esbuild (high): add override to ^0.28.1 for Deno binary integrity fix
  Advisory: GHSA-gv7w-rqvm-qjhr
  Strategy: pnpm override (transitive via tsx)

- @babel/core (low): add override to ^7.29.6 for arbitrary file read fix
  Advisory: GHSA-4x5r-pxfx-6jf8
  Strategy: pnpm override (transitive via @svgr/webpack)

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

linear-code Bot commented Jun 17, 2026

Copy link
Copy Markdown

DOC-357

@netlify

netlify Bot commented Jun 17, 2026

Copy link
Copy Markdown

Deploy Preview for docs-novu ready!

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

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm js-yaml is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: pnpm-lock.yamlnpm/eslint@8.57.1npm/fumadocs-openapi@8.1.2npm/@svgr/webpack@8.1.0npm/js-yaml@4.2.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/js-yaml@4.2.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@scopsy scopsy marked this pull request as ready for review June 17, 2026 06:12
@scopsy scopsy merged commit d9f88a4 into main Jun 17, 2026
10 checks passed
@scopsy scopsy deleted the cursor/docsrepo-security-vulnerabilities-2ed8 branch June 17, 2026 06:18
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