Skip to content

Pin serialize-javascript to ^7.0.3 via overrides to fix high-severity RCE - #88

Closed
rzhao271 with Copilot wants to merge 2 commits into
mainfrom
copilot/add-serialize-javascript-override
Closed

Pin serialize-javascript to ^7.0.3 via overrides to fix high-severity RCE#88
rzhao271 with Copilot wants to merge 2 commits into
mainfrom
copilot/add-serialize-javascript-override

Conversation

Copilot AI commented Mar 9, 2026

Copy link
Copy Markdown

serialize-javascript <=7.0.2 has a high-severity RCE vulnerability (GHSA-5c6j-r48x-rmvq) pulled in transitively via mocha. Since mocha doesn't yet declare a compatible direct dependency, an npm override is required to force resolution.

Changes

  • package.json: Added overrides entry pinning serialize-javascript to ^7.0.3
  • package-lock.json: Updated via npm audit fix (no --force); serialize-javascript now resolves to 7.0.4
"overrides": {
  "serialize-javascript": "^7.0.3"
}

The remaining 2 low-severity advisories (diff/mocha) require a breaking mocha downgrade to resolve and are not addressed here.

Copilot AI and others added 2 commits March 9, 2026 21:11
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
@rzhao271
rzhao271 marked this pull request as ready for review March 9, 2026 21:24
@rzhao271 rzhao271 added this to the 1.112.0 milestone Mar 9, 2026
@rzhao271
rzhao271 enabled auto-merge (squash) March 9, 2026 21:24
@rzhao271 rzhao271 closed this Mar 10, 2026
auto-merge was automatically disabled March 10, 2026 16:07

Pull request was closed

@rzhao271 rzhao271 reopened this Mar 10, 2026
@rzhao271 rzhao271 closed this Mar 10, 2026
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.

4 participants