CVE-2019-0542
HIGH 8.8CVSS 3.1xterm vulnerable to remote code execution
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.
- Published
- 9 Jan 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secure@microsoft.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-mc23-976p-j42x
- Sources
- NVDJSONOSV GHSA-mc23-976p-j42xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xtermjs | xterm.jscpe:2.3:a:xtermjs:xterm.js:*:*:*:*:*:*:*:* |
< 5.0.0 | 5.0.0 |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:* |
>= 3.9, < 3.9.99 | 3.9.99 |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:* |
>= 3.10, < 3.10.163 | 3.10.163 |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:* |
> 3.11, < 3.11.104 | 3.11.104 |
| OSV | npm | xterm | < 3.8.1 | 3.8.1 |
| OSV | npm | xterm | >= 3.9.0, < 3.9.2 | 3.9.2 |
| OSV | npm | xterm | >= 3.10.0, < 3.10.1 | 3.10.1 |
References
- http://www.securityfocus.com/bid/106434 · WEB
- https://access.redhat.com/errata/RHBA-2019:0959 · WEB
- https://access.redhat.com/errata/RHSA-2019:1422 · WEB
- https://access.redhat.com/errata/RHSA-2019:2551 · WEB
- https://access.redhat.com/errata/RHSA-2019:2552 · 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
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 9 Jan 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Jan 2019)