cve.bz

CVE-2019-16769 verizon serialize-javascript: Cross-site Scripting

5.4 mediumEPSS 0.8%Fix available

Medium (5.4) in verizon serialize-javascript. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in serialize-javascript 2.1.1.

On this page
The serialize-javascript npm package before version 2.1.1 is vulnerable to Cross-site Scripting (XSS). It does not properly mitigate against unsafe characters in serialized regular expressions. This vulnerability is not affected on Node.js environment since Node.js's implementation of RegExp.prototype.toString() backslash-escapes all forward slashes in regular expressions. If serialized data of regular expression objects are used in an environment other than Node.js, it is affected by this vulnerability.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-16769 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-16769?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-16769?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-16769 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
yahoo serialize-javascriptfrom < 2.1.1 before 2.1.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h9rv-jmmf-4pgxnpmserialize-javascript<2.1.12.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatservice_mesh:1.1::el8servicemesh-grafana, servicemesh-grafana-prometheus0:6.4.3-11.el8RHSA-2020:2796
SUSEManager Proxy Module 4.0mgr-osad4.0.11-3.9.2SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0patterns-suse-manager4.0-9.10.2SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0spacecmd4.0.18-3.13.2SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0spacewalk-backend4.0.30-3.23.3SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0spacewalk-certs-tools4.0.15-3.15.2SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0spacewalk-client-tools4.0.12-3.13.2SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0spacewalk-web4.0.19-3.18.3SUSE-RU-2020:0671-1
SUSEManager Proxy Module 4.0supportutils-plugin-susemanager-proxy, supportutils-plugin-susemanager-client4.0.3-3.3.2SUSE-RU-2020:0671-1 SUSE-SU-2020:0671-1
SUSEManager Proxy Module 4.0, Manager Server Module 4.0mgr-osad4.0.11-3.9.2SUSE-SU-2020:0671-1
SUSEManager Proxy Module 4.0, Manager Server Module 4.0patterns-suse-manager4.0-9.10.2SUSE-SU-2020:0671-1
SUSEManager Proxy Module 4.0, Manager Server Module 4.0spacecmd4.0.18-3.13.2SUSE-SU-2020:0671-1
SUSEManager Proxy Module 4.0, Manager Server Module 4.0spacewalk-backend4.0.30-3.23.3SUSE-SU-2020:0671-1
24 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In both OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), the grafana and prometheus containers are behind OpenShift OAuth authentication. This restricts access to the vulnerable serialize-javascript library to authenticated users only, therefore the impact is low.

ProductPackageStateAdvisory
OpenShift Service Mesh 1.1servicemesh-grafana-0:6.4.3-11.el8Fixed 2020-07-01RHSA-2020:2796
Red Hat OpenShift Container Platform 4.6openshift4/ose-grafana:v4.6.0-202010061132.p0Fixed 2020-10-27RHSA-2020:4298
Red Hat OpenShift Container Platform 4openshift4/ose-prometheusFix deferred
Red Hat OpenShift Virtualization 1kubevirt-web-ui-containerWill not fix
Red Hat Quay 3nodejs-serialize-javascriptWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-16769.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON