Bug 2560226 (CVE-2026-115897) - CVE-2026-115897 serialize-javascript: serialize-javascript: Cross-Site Scripting via improper function escaping
Summary: CVE-2026-115897 serialize-javascript: serialize-javascript: Cross-Site Script...
Keywords:
Status: NEW
Alias: CVE-2026-115897
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-23 21:51 UTC by OSIDB Bzimport
Modified: 2026-10-23 21:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-23 21:51:30 UTC
Serialize JavaScript serializes JavaScript values to a superset of JSON that includes regular expressions and functions. Prior to 7.1.3, the function-source escaping logic does not neutralize a bare closing-script prefix when attacker-influenced function source text ends exactly at that prefix. Because each function body is escaped independently, a delimiter supplied by surrounding serialized output can terminate an HTML script element, and a later serialized value supplies injected markup that becomes a live element in the page. Exploitation requires control of a serialized function's source text, such as through a spoofed toString(). This issue is fixed in version 7.1.3.


Note You need to log in before you can comment on or make changes to this bug.