serialize-javascript (npm)

Known vulnerabilities and malicious package reports for serialize-javascript on npm, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 7 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-hxcc-f52p-wc94: Vulnerability

Insecure serialization leading to RCE in serialize-javascript

Published .

Updated .

Affected ranges: introduced 0, fixed 3.1.0.

Fix versions reported by the advisory: 3.1.0.

Severity: HIGH.

CVE-2020-7660

GHSA-76p7-773f-r4q5: Vulnerability

Cross-site Scripting (XSS) in serialize-javascript

Published .

Updated .

Affected ranges: introduced 6.0.0, fixed 6.0.2.

Fix versions reported by the advisory: 6.0.2.

Severity: MEDIUM.

CVE-2024-11831

GHSA-h9rv-jmmf-4pgx: Vulnerability

Cross-Site Scripting in serialize-javascript

Published .

Updated .

Affected ranges: introduced 0, fixed 2.1.1.

Fix versions reported by the advisory: 2.1.1.

Severity: MEDIUM.

CVE-2019-16769

GHSA-qj8w-gfj5-8c6v: Vulnerability

Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects

Published .

Updated .

Affected ranges: introduced 5.0.0, fixed 7.0.5.

Fix versions reported by the advisory: 7.0.5.

Severity: HIGH.

CVE-2026-34043

GHSA-gfhx-hw2g-v5hg: Vulnerability

Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script> in serialized function bodies

Published .

Updated .

Affected ranges: introduced 7.1.1, fixed 7.1.2.

Fix versions reported by the advisory: 7.1.2.

Severity: LOW.

CVE-2026-97711

GHSA-m5mm-p8h7-m29v: Vulnerability

Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script at the end of a serialized function body

Published .

Updated .

Affected ranges: introduced 0, fixed 7.1.3.

Fix versions reported by the advisory: 7.1.3.

Severity: MEDIUM.

CVE-2026-115754

GHSA-5c6j-r48x-rmvq: Vulnerability

Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()

Published .

Updated .

Affected ranges: introduced 0, fixed 7.0.3.

Fix versions reported by the advisory: 7.0.3.

Severity: HIGH.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.