p PatchFirst

CVE-2026-115754

CVE-2026-115754 · serialize-javascript 7.0.1 before 7.1.3 XSS via unescaped </script in function body

This page contains facts from public vulnerability sources. Check the original advisory before updating.

serialize-javascript from 7.0.1 before 7.1.3 contains a cross-site scripting vulnerability that allows attackers to break out of HTML script elements by ending serialized function source text with an unescaped </script. Attackers controlling a function's source via a spoofed toString() can combine surrounding output delimiters and later values to inject live markup such as img onerror handlers.

CVSS 2.3 · Low · Fix available

Published
Updated

Stack: node

Affected products and versions

Original sources

Check your server →