Skip to content

Fix HIGH severity serialize-javascript vulnerability via npm overrides#43

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-serialize-javascript
Draft

Fix HIGH severity serialize-javascript vulnerability via npm overrides#43
Copilot wants to merge 2 commits intomainfrom
copilot/update-serialize-javascript

Conversation

Copy link

Copilot AI commented Mar 3, 2026

serialize-javascript was resolving to 6.0.2 (via terser-webpack-pluginwebpack) which carries a HIGH severity CVE. The fix pins it to >=7.0.3 using npm's overrides mechanism.

Changes

  • package.json: Added overrides entry to force serialize-javascript >= 7.0.3
    "overrides": {
      "serialize-javascript": ">=7.0.3"
    }
  • package-lock.json: Resolves serialize-javascript to 7.0.4 (previously 6.0.2)
Original prompt

This section details on the original issue you should resolve

<issue_title>[Vuln Tracking] Update serialize-javascript in github-well-architected and github-well-architected-internal to fix HIGH vulnerability (due 2026-
[Content truncated due to length]</issue_title>
<issue_description>## Vulnerability

github-well-architected and github-well-architected-internal both have High severity Dependabot alerts for serialize-javascript requiring an update to >= 7.0.3.

Remediation Instructions

This tracking issue covers two repositories that need the same fix.

github-well-architected

Before creating a new PR, check if there is already an open Dependabot PR in github/github-well-architected for serialize-javascript. If one exists, review it and approve/update it instead of creating a duplicate.

If no existing PR is found:

  1. Update package.json and lockfile to use serialize-javascript >= 7.0.3.
  2. Run npm update serialize-javascript or equivalent.
  3. Ensure tests pass.
  4. Open a PR targeting main, requesting review from @github/cse-engineers.

github-well-architected-internal

Same steps as above but in github/github-well-architected-internal with Dependabot github/customer-success-engineering#31.

Target Repository

Primary: github/github-well-architected — please also check/fix github/github-well-architected-internal.

Generated by Vulnerability Tracking

Comments on the Issue (you are @copilot in this section)

  • Fixes github/customer-success-engineering#5501

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…pm overrides

Co-authored-by: sdehm <16405245+sdehm@users.noreply.github.com>
Copilot AI changed the title [WIP] Update serialize-javascript to fix high vulnerability Fix HIGH severity serialize-javascript vulnerability via npm overrides Mar 3, 2026
Copilot finished work on behalf of sdehm March 3, 2026 22:20
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