Skip to content
Fencer Vulns
high 8.1

CVE-2020-7660 json

Insecure serialization leading to RCE in serialize-javascript

published 2020-06-01 6 y ago modified 2026-06-17 4 mo ago also GHSA-hxcc-f52p-wc94 , EUVD-2020-0628

cvss
8.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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

Patch / fix

  • npm serialize-javascript 3.1.0
  • verizon serialize-javascript 3.1.0
  • servicemesh-grafana service mesh 1.0 6.2.2-38.el8
  • servicemesh-grafana-prometheus service mesh 1.0 6.2.2-38.el8
  • servicemesh-grafana service mesh 1.1 6.4.3-11.el8
  • servicemesh-grafana-prometheus service mesh 1.1 6.4.3-11.el8

red hat advisories RHSA-2020:2861RHSA-2020:2796

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-7660 updated cvss 8.1

npm-serialize-javascript: allows remote attackers to inject arbitrary code via the function deleteFunctions within index.js

  • Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-prometheus-rhel9
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-all-in-one-rhel8
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift Virtualization 1 kubevirt-web-ui-container
    affected: no fix planned “Will not fix”
  • Red Hat Quay 3 nodejs-serialize-javascript
    affected: no fix available “Fix deferred”
  • Red Hat OpenShift Service Mesh 1.0 servicemesh-grafana 6.2.2-38.el8, servicemesh-grafana-prometheus 6.2.2-38.el8
    fixed: vendor fix RHSA-2020:2861
  • Red Hat OpenShift Service Mesh 1.1 servicemesh-grafana 6.4.3-11.el8, servicemesh-grafana-prometheus 6.4.3-11.el8
    fixed: vendor fix RHSA-2020:2796
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8 Red Hat OpenShift Virtualization 2 kubevirt-web-ui-container
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.01% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm serialize-javascript
<3.1.0
3.1.0

Affected products

  • n/a serialize-javascript

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.