Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions. From 7.1.1 until 7.1.2, function values serialized by serialize-javascript are not fully protected against script-closing tags in attacker-influenced function source because SCRIPT_CLOSE_REGEXP can consume a second closing tag inside one match. When the serialized function is embedded in a script element, the surviving closing tag terminates the element early and causes the remaining output to be parsed as HTML, enabling cross-site scripting in the page origin. Only function values are affected; ordinary data values and options.isJSON output are unaffected. This issue is fixed in version 7.1.2.
CVE-2026-97711
This low-severity CVE scores 2.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3% (20th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 2.3
- EG Score
- 2.3LOWmedium confidence
- EG Risk
- 10EG Risk 10/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity23% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.3%
- EPSS %ILE
- 20th
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 29, 2026
Last Modified
September 30, 2026
References (3)
- security-advisories@githubhttps://github.com/yahoo/serialize-javascript/commit/2bdbaaff9cb8a4639135eb24cfcd383d3fefb534
- security-advisories@githubhttps://github.com/yahoo/serialize-javascript/releases/tag/v7.1.2
- security-advisories@githubhttps://github.com/yahoo/serialize-javascript/security/advisories/GHSA-gfhx-hw2g-v5hg
Vendor Advisories for CVE-2026-97711(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(4 across 4 ecosystems)
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-serialize-javascript | 6.0.0-2 ... 7.1.2+~5.0.4-1 (8 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-serialize-javascript | 6.0.2-1, 7.0.4+~5.0.4-1, 7.0.5+~5.0.4-1, 7.0.7+~5.0.4-1, 7.1.2+~5.0.4-1 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-serialize-javascript | 6.0.2-1, 7.0.4+~5.0.4-1, 7.0.5+~5.0.4-1, 7.0.7+~5.0.4-1 |
| — |
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| serialize-javascript | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-04 23:23 UTCEPSS rescore
- 2026-10-03 21:40 UTCEG score recompute
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 17:57 UTCEPSS rescore
- 2026-10-01 19:51 UTCEPSS rescore
- 2026-09-30 19:45 UTCEG score recompute
- 2026-09-30 15:04 UTCEPSS rescore
- 2026-09-29 17:32 UTCEG score recompute
- 2026-09-29 17:03 UTCEG score recompute
- 2026-09-29 16:27 UTCEG score recompute
- 2026-09-29 16:03 UTCEG score recompute
- 2026-09-29 16:03 UTCMITRE cvelistV5first tracked
Related CVEs(same product + same CWE)
Same product
4 shownnpm:serialize-javascript
Frequently asked(5)
What is CVE-2026-97711?
When was CVE-2026-97711 disclosed?
Is CVE-2026-97711 actively exploited?
What is the CVSS score of CVE-2026-97711?
How do I remediate CVE-2026-97711?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-97711
Is Your Infrastructure Affected by CVE-2026-97711?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.