CVE-2019-0542Xtermjs Xterm.js
High 8.8 No auth needed
Follow: this CVE · Xtermjs · Xtermjs Xterm.js We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Jan 9, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Xterm.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | xterm |
< 3.8.1 |
3.8.1 |
npm install xterm@3.8.1 |
| npm | xterm |
≥ 3.9.0 < 3.9.2 |
3.9.2 |
npm install xterm@3.9.2 |
| npm | xterm |
≥ 3.10.0 < 3.10.1 |
3.10.1 |
npm install xterm@3.10.1 |
Per OSV / GitHub Advisories (GHSA-mc23-976p-j42x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xtermjs | xterm.js | < 5.0.0 |
| redhat | openshift_container_platform | ≥ 3.9 < 3.9.99 |
| redhat | openshift_container_platform | ≥ 3.10 < 3.10.163 |
| redhat | openshift_container_platform | > 3.11 < 3.11.104 |
Official sources
References
Links published by the sources. Open them with care.