Live threats

All CVEs / Xtermjs

CVE-2019-0542Xtermjs Xterm.js

High 8.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xterm.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
xtermjsxterm.js< 5.0.0
redhatopenshift_container_platform≥ 3.9 < 3.9.99
redhatopenshift_container_platform≥ 3.10 < 3.10.163
redhatopenshift_container_platform> 3.11 < 3.11.104

Official sources

References

Links published by the sources. Open them with care.