Every CVE Search/ Get API key

CVE-2020-7660

Insecure serialization leading to RCE in serialize-javascript

8.1 HighFix available

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.01%Up 2.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.1

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Record
CVE-2020-7660
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-502
Updated
2026-11-02
CVE List No score

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Record
CVE-2020-7660
Updated
2026-11-02
EUVDEUVD-2020-0628 No score

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Record
EUVD-2020-0628
Updated
2026-11-03
GitHub AdvisoriesGHSA-hxcc-f52p-wc94 8.1

Insecure serialization leading to RCE in serialize-javascript

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

An object such as {"foo": /1"/, "bar": "a\"@__R-<UID>-0__@"} was serialized as {"foo": /1"/, "bar": "a\/1"/}, which allows an attacker to escape the bar key. This requires the attacker to control the values of both foo and bar and guess the value of <UID>. The UID has a keyspace of approximately 4 billion making it a realistic network attack.

Record
GHSA-hxcc-f52p-wc94
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
OSV 8.1

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

Record
CVE-2020-7660
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-hxcc-f52p-wc94 8.1

Insecure serialization leading to RCE in serialize-javascript

serialize-javascript prior to 3.1.0 allows remote attackers to inject arbitrary code via the function "deleteFunctions" within "index.js".

An object such as {"foo": /1"/, "bar": "a\"@__R-<UID>-0__@"} was serialized as {"foo": /1"/, "bar": "a\/1"/}, which allows an attacker to escape the bar key. This requires the attacker to control the values of both foo and bar and guess the value of <UID>. The UID has a keyspace of approximately 4 billion making it a realistic network attack.

Record
GHSA-hxcc-f52p-wc94
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
Show 6 moreShow less
OSVRHSA-2020:2796 8.2

Red Hat Security Advisory: Red Hat OpenShift Service Mesh servicemesh-grafana security update

Record
RHSA-2020:2796
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVRHSA-2020:2861 8.2

Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana security update

Record
RHSA-2020:2861
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVCLSA-2026-1774311647 No score

TuxCare security update for formidable (4 CVEs)

TuxCare rebuilt formidable to address 4 CVEs. Fixed in 2.1.2-tuxcare.1.

Record
CLSA-2026-1774311647
Updated
2026-11-02
OSVCLSA-2026-1776213251 No score

TuxCare security update for serialize-javascript (3 CVEs)

TuxCare rebuilt serialize-javascript to address 3 CVEs. Fixed in 2.1.2-tuxcare.1.

Record
CLSA-2026-1776213251
Updated
2026-11-02
OSVCLSA-2026-1793789998 No score

TuxCare security update for serialize-javascript (3 CVEs)

TuxCare rebuilt serialize-javascript to address 3 CVEs. Fixed in 3.0.0-tuxcare.1.

Record
CLSA-2026-1793789998
Updated
2026-11-04
OSVROOT-APP-NPM-CVE-2020-7660 No score

CVE-2020-7660 in serialize-javascript - Patched by Root

Root has patched CVE-2020-7660 in the serialize-javascript package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2020-7660
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
serialize-javascript
npm
before 3.1.0
3.1.0
serialize-javascript
TuxCare:npm
From an advisory covering 2 CVEs
2.1.2-tuxcare.0 up to 2.1.2-tuxcare.1, plus listed versions
2.1.2
2.1.2-tuxcare.1
serialize-javascript
TuxCare:npm
From an advisory covering 2 CVEs
3.0.0-tuxcare.0 up to 3.0.0-tuxcare.1, plus listed versions
3.0.0
3.0.0-tuxcare.1
servicemesh-grafana
Red Hat:service_mesh:1.1::el8
From an advisory covering 8 CVEs
before 0:6.4.3-11.el8
0:6.4.3-11.el8
servicemesh-grafana-prometheus
Red Hat:service_mesh:1.1::el8
From an advisory covering 8 CVEs
before 0:6.4.3-11.el8
0:6.4.3-11.el8
servicemesh-grafana
Red Hat:service_mesh:1.0::el8
From an advisory covering 7 CVEs
before 0:6.2.2-38.el8
0:6.2.2-38.el8
servicemesh-grafana-prometheus
Red Hat:service_mesh:1.0::el8
From an advisory covering 7 CVEs
before 0:6.2.2-38.el8
0:6.2.2-38.el8
serialize-javascript
Root:npm
before 1.9.1-aikido.1
1.9.1-aikido.11.9.1-aikido.23.1.0-aikido.1
@rootio/serialize-javascript
Root:npm
before 1.9.1-root.io.1
1.9.1-root.io.11.9.1-root.io.23.1.0-root.io.1

History

History
RecordedChangedSources
affected
affected, aliases, factsOSV
affected
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-7660 is a high vulnerability (CVSS 8.1) in Verizon Serialize-javascript, published June 1, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.01%, the 87th percentile. Fixed in serialize-javascript 3.1.0.

References

Show 38 moreShow less
MoveEnter Open