Skip to main content

Serialize Javascript

4 CVEs product

Monthly

CVE-2026-115897 Oct 23, 21:37 npm LOW PATCH GHSA Monitor

Cross-site scripting in serialize-javascript before 7.1.3 lets an attacker who controls the source text of a serialized function (in practice via a spoofed toString()) break out of an HTML <script> element and introduce live markup, but only in a narrow configuration: the function body must end exactly at a bare '</script' with no trailing delimiter character, the surrounding serialized output must then supply the delimiter (for example the newline emitted by the 'space' pretty-print option), and a later serialized value must supply the closing '>' plus injected markup. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, a scope-changing low-impact injection that requires a victim to load the affected page; ordinary functions (which end in '}') and non-function values, including strings containing '</script', are escaped correctly and are not affected. There is no CISA KEV entry and no confirmed active exploitation; a public reproducer is documented in the upstream advisory, and the vendor-released fix is version 7.1.3.

XSS Serialize Javascript Yahoo
NVD VulDB GitHub
CVSS 4.0
2.1
EPSS
0.4%
CVE-2026-115754 Oct 23, 13:20 npm LOW PATCH Monitor

Cross-site scripting in serialize-javascript 7.0.1 before 7.1.3 occurs when a serialized function's attacker-influenced source text ends in a bare `</script`, letting surrounding output and a later serialized value complete the tag and inject live markup such as an `img onerror` handler. The flaw only affects applications that serialize attacker-controlled function values via a spoofed `toString()` and embed the result inside an HTML `<script>` element; ordinary functions and non-function values are escaped correctly. The vendor fixed this in 7.1.3, no KEV listing or confirmed active exploitation is reported, the advisory's demonstration payload is not verified as working exploit code, and the decision label is monitor.

XSS Serialize Javascript Yahoo
NVD GitHub
CVSS 4.0
2.3
EPSS
0.3%
CVE-2020-7660 Jun 01, 15:15 npm HIGH PATCH This Week

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js". Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authentication required. This Deserialization of Untrusted Data vulnerability could allow attackers to execute arbitrary code through malicious serialized objects.

RCE Deserialization Verizon Serialize Javascript
NVD GitHub
CVSS 3.1
8.1
EPSS
3.0%
CVE-2019-16769 Dec 05, 19:15 npm MEDIUM PATCH This Month

The serialize-javascript npm package before version 2.1.1 is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Node.js Verizon Serialize Javascript
NVD GitHub
CVSS 3.1
5.4
EPSS
1.0%
EPSS 0% CVSS 2.1
LOW PATCH Monitor

Cross-site scripting in serialize-javascript before 7.1.3 lets an attacker who controls the source text of a serialized function (in practice via a spoofed toString()) break out of an HTML <script> element and introduce live markup, but only in a narrow configuration: the function body must end exactly at a bare '</script' with no trailing delimiter character, the surrounding serialized output must then supply the delimiter (for example the newline emitted by the 'space' pretty-print option), and a later serialized value must supply the closing '>' plus injected markup. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N, a scope-changing low-impact injection that requires a victim to load the affected page; ordinary functions (which end in '}') and non-function values, including strings containing '</script', are escaped correctly and are not affected. There is no CISA KEV entry and no confirmed active exploitation; a public reproducer is documented in the upstream advisory, and the vendor-released fix is version 7.1.3.

XSS Serialize Javascript Yahoo
NVD VulDB GitHub
EPSS 0% CVSS 2.3
LOW PATCH Monitor

Cross-site scripting in serialize-javascript 7.0.1 before 7.1.3 occurs when a serialized function's attacker-influenced source text ends in a bare `</script`, letting surrounding output and a later serialized value complete the tag and inject live markup such as an `img onerror` handler. The flaw only affects applications that serialize attacker-controlled function values via a spoofed `toString()` and embed the result inside an HTML `<script>` element; ordinary functions and non-function values are escaped correctly. The vendor fixed this in 7.1.3, no KEV listing or confirmed active exploitation is reported, the advisory's demonstration payload is not verified as working exploit code, and the decision label is monitor.

XSS Serialize Javascript Yahoo
NVD GitHub
EPSS 3% CVSS 8.1
HIGH PATCH This Week

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js". Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, no authentication required. This Deserialization of Untrusted Data vulnerability could allow attackers to execute arbitrary code through malicious serialized objects.

RCE Deserialization Verizon +1
NVD GitHub
EPSS 1% CVSS 5.4
MEDIUM PATCH This Month

The serialize-javascript npm package before version 2.1.1 is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.

XSS Node.js Verizon +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy