# CVE-2019-0542: xterm vulnerable to remote code execution

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.17%, higher than 88% of CVEs (2026-12-01)
- Published: 2019-01-09T15:00:00.000Z
- Modified: 2026-06-17T02:08:19.950Z
- Also known as: GHSA-mc23-976p-j42x
- Weaknesses: CWE-94
- Assigned by: microsoft

## Description

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.

(As written by CVE List.)

## Affected

- https://xtermjs.org/ xterm.js: xterm.js
- xterm (npm): before 3.8.1; from 3.9.0 before 3.9.2; from 3.10.0 before 3.10.1
- xtermjs xterm.js: before 5.0.0
- redhat openshift_container_platform: from 3.9 before 3.9.99; from 3.10 before 3.10.163; from >3.11 before 3.11.104

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <http://www.securityfocus.com/bid/106434> (vdb-entry, web)
- <https://access.redhat.com/errata/RHBA-2019:0959> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2019:1422> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2019:2552> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2019:2551> (vendor-advisory, web)
- <https://github.com/xtermjs/xterm.js/releases>
- <https://nvd.nist.gov/vuln/detail/CVE-2019-0542> (advisory)
- <https://github.com/xtermjs/xterm.js/commit/3592c641cd0348e0b698e8a180aea2072c6bcd9a> (web)
- <https://github.com/advisories/GHSA-mc23-976p-j42x> (advisory)
- <https://github.com/xtermjs/xterm.js> (package)
- <https://github.com/xtermjs/xterm.js/releases/tag/3.8.1> (web)

## Sources

- CVE List: [CVE-2019-0542](https://www.cve.org/CVERecord?id=CVE-2019-0542), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-mc23-976p-j42x](https://github.com/advisories/GHSA-mc23-976p-j42x), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-0542](https://nvd.nist.gov/vuln/detail/CVE-2019-0542), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-0542 · Whole record: https://cve.day/CVE-2019-0542.json · Rebuilt by cve.day 2026-11-25T22:57:43.551Z
