CVE-2026-97711
Last modified
CVE-2026-97711 is a low-severity vulnerability rated 2.3/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| yahoo | serialize-javascript | >= 7.1.1, < 7.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-97711?
How severe is CVE-2026-97711?
How do I fix CVE-2026-97711?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-97688urllib3 is an HTTP client library for Python. From 2.6.2 unt…6.9
- CVE-2026-97689urllib3 is an HTTP client library for Python. From 1.10.3 un…8.9
- CVE-2026-9769justhtml through 1.9.1 (fixed in 1.10.0) is vulnerable to un…7.5
- CVE-2026-97691Convex is an open-source reactive database for application d…4.3
- CVE-2026-9770Kasa EC71 v4 and EC70 v4 firmware contains a static cryptogr…5.3
- CVE-2026-9771The flash_copy() system call is verified by z_vrfy_flash_cop…8.8
- CVE-2026-97714CVE-2026-97714 is a is a vulnerability in the authentication…8.2
- CVE-2026-97715CVE-2026-97715 is a vulnerability in the client registration…7.1
- CVE-2026-97716CVE-2026-97716 is a vulnerability in the connection set up s…8.7
- CVE-2026-97717CVE-2026-97717 is a vulnerability in the proxy sub-system of…6
- CVE-2026-9772Unraid Web Server FileUpload Command Injection Remote Code E…8.8
- CVE-2026-97720Incorrect implementation of JWT/OAuth authentication in Impa…9.1
Are you affected by CVE-2026-97711?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
