{"id":"CVE-2019-0542","aliases":["CVE-2019-0542","GHSA-mc23-976p-j42x"],"related":[],"kind":"vulnerability","state":"published","title":"xterm vulnerable to remote code execution","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"A remote code execution vulnerability exists in Xterm.js when the component mishandles special characters.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Existe una vulnerabilidad de ejecución remota de código en Xterm.js cuando el componente maneja mal los caracteres especiales, también conocida como \"Xterm Remote Code Execution Vulnerability\". Esto afecta a xterm.js","source":"nvd"}],"published":"2019-01-09T15:00:00.000Z","modified":"2026-06-17T02:08:19.950Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"xterm.js","status":"affected"}],"vendor":"https://xtermjs.org/","product":"xterm.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.1"}],"ecosystem":"npm","package":"xterm","purl":"pkg:npm/xterm","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.9.0","status":"affected","fixed":"3.9.2"}],"ecosystem":"npm","package":"xterm","purl":"pkg:npm/xterm","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.10.0","status":"affected","fixed":"3.10.1"}],"ecosystem":"npm","package":"xterm","purl":"pkg:npm/xterm","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.0.0"}],"vendor":"xtermjs","product":"xterm.js","cpe":"cpe:2.3:a:xtermjs:xterm.js:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.9","fixed":"3.9.99"},{"status":"affected","introduced":"3.10","fixed":"3.10.163"},{"status":"affected","introduced":">3.11","fixed":"3.11.104"}],"vendor":"redhat","product":"openshift_container_platform","cpe":"cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"http://www.securityfocus.com/bid/106434","tags":["vdb-entry","web","x-refsource-bid","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0959","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1422","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2552","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2551","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xtermjs/xterm.js/releases","tags":["x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-0542","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xtermjs/xterm.js/commit/3592c641cd0348e0b698e8a180aea2072c6bcd9a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mc23-976p-j42x","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xtermjs/xterm.js","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/xtermjs/xterm.js/releases/tag/3.8.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"microsoft","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-0542","url":"https://www.cve.org/CVERecord?id=CVE-2019-0542","licence":"CVE Terms of Use","modified":"2024-08-04T17:51:26.827Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mc23-976p-j42x","url":"https://github.com/advisories/GHSA-mc23-976p-j42x","licence":"CC-BY-4.0","modified":"2023-11-08T04:00:32.652Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-0542","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-0542","licence":"Public domain","modified":"2026-06-17T02:08:19.950Z"}],"updatedAt":"2026-11-25T22:57:43.551Z","epss":{"score":0.03166,"percentile":0.88349,"date":"2026-12-01T12:00:22.000Z"}}