npm vulnerability intelligence

serialize-javascript NPM Package
Vulnerability Check

Serialize JavaScript to a superset of JSON that includes regular expressions and functions.

High severity BSD-3-Clause v7.0.5
Vulnerability Analysis OSV Live

serialize-javascript

v7.0.5 · BSD-3-Clause · 49,822,191 dl/wk

Advisory Breakdown

Critical 0
High 2
Moderate 3
Low 0

Severity Rating

High severity

5 advisories

High severity

Weekly downloads

49,822,191

Total advisories

5

Latest version

7.0.5

License

BSD-3-Clause

Known advisories

OSV records for the npm ecosystem

5
GHSA-5c6j-r48x-rmvq high

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

Affected: >=0 <7.0.3 Fixed in: 7.0.3 Updated Mar 4, 2026
View source
GHSA-76p7-773f-r4q5 CVE-2024-11831 moderate

Cross-site Scripting (XSS) in serialize-javascript

Affected: >=6.0.0 <6.0.2 Fixed in: 6.0.2 Updated Apr 17, 2026
View source
GHSA-h9rv-jmmf-4pgx CVE-2019-16769 moderate

Cross-Site Scripting in serialize-javascript

Affected: >=0 <2.1.1 Fixed in: 2.1.1 Updated Mar 13, 2026
View source
GHSA-hxcc-f52p-wc94 CVE-2020-7660 high

Insecure serialization leading to RCE in serialize-javascript

Affected: >=0 <3.1.0 Fixed in: 3.1.0 Updated Nov 8, 2023
View source
GHSA-qj8w-gfj5-8c6v CVE-2026-34043 moderate

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

Affected: >=5.0.0 <7.0.5 Fixed in: 7.0.5 Updated May 21, 2026
View source

Checked Jun 15, 2026, 10:50 AM from npm and OSV.dev

Package metadata

From the npm registry

Package name
serialize-javascript
Ecosystem
npm
Latest version
7.0.5
License
BSD-3-Clause
Weekly downloads
49,822,191

Remediation boundary

What RequestGuard does — and doesn't — cover

RequestGuard does not fix npm package vulnerabilities. Dependency remediation happens through package updates, patches, lockfile changes, and maintainer guidance. RequestGuard can help mitigate runtime abuse around exposed web and API flows while remediation is handled separately.

Signup flows
Login attempts
API traffic

Data from npm registry and OSV.dev · Checked 6/15/2026, 10:50:15 AM