Skip to content
Fencer Intel
high 8.8

CVE-2019-0542 json

xterm vulnerable to remote code execution

published 7y ago modified 4mo ago also GHSA-mc23-976p-j42x , EUVD-2019-0189

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

Summary

A remote code execution vulnerability exists in Xterm.js when the component mishandles special characters, aka "Xterm Remote Code Execution Vulnerability." This affects xterm.js.

Patch / fix

  • npm xterm 3.8.1, 3.9.2, 3.10.1
  • xtermjs xterm.js 5.0.0
  • redhat openshift_container_platform 3.9.99, 3.10.163, 3.11.104
  • node-xterm Debian 14, Debian 13, Debian 12 3.8.1-1

debian advisories DEBIAN-CVE-2019-0542

  • atomic-openshift-web-console openshift 3.10 3.10.163-1.git.1.c3a2131.el7
  • atomic-openshift-web-console openshift 3.9 3.9.99-1.git.1.49cd7e9.el7
  • atomic-openshift-web-console openshift 3.11 3.11.104-1.git.1.3c3a7f2.el7

red hat advisories RHSA-2019:2552RHSA-2019:2551RHSA-2019:1422

Is CVE-2019-0542 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-2019-0542 updated cvss 7.5

xterm.js: Mishandling of special characters allows for remote code execution

  • Red Hat OpenShift Container Platform 3.9 atomic-openshift-web-console 3.9.99-1.git.1.49cd7e9.el7
    fixed: vendor fix RHSA-2019:2551
  • Red Hat OpenShift Container Platform 3.10 atomic-openshift-web-console 3.10.163-1.git.1.c3a2131.el7
    fixed: vendor fix RHSA-2019:2552
  • Red Hat OpenShift Container Platform 3.11 openshift3/ose v3.11.98-7, openshift3/node v3.11.98-6, openshift3/grafana v3.11.98-7, openshift3/ose-cli v3.11.98-6, openshift3/ose-pod v3.11.98-7, openshift3/apb-base v3.11.98-9, +74 more
    fixed: vendor fix RHSA-2019:1422
  • Red Hat OpenShift Container Platform 4 openshift4/ose-console
    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.17% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm xterm
<3.8.1
>=3.9.0, <3.9.2
>=3.10.0, <3.10.1
3.8.1
3.9.2
3.10.1

Affected products

  • https://xtermjs.org/ xterm.js

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel 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.