{"id":"CVE-2021-28161","aliases":["EUVD-2021-0815","GHSA-cwg9-c9cr-p5fq"],"status":"published","title":"Improper Neutralization of Input in Theia console","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00708,"percentile":0.53747,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-03-12T21:40:14Z","modified":"2026-10-20T10:53:41Z","fixes":[{"ecosystem":"npm","package":"@theia/console","fixed_in":["1.8.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@theia/console","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.1"}]}]},{"source":"osv","ecosystem":"npm","package":"@theia/console","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.1"}]}]}],"products":[{"vendor":"eclipse","product":"theia"},{"vendor":"the eclipse foundation","product":"eclipse theia"}],"references":[{"url":"https://github.com/eclipse-theia/theia/issues/8794","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28161","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cwg9-c9cr-p5fq"}],"sources":{"cve":[{"id":"CVE-2021-28161","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","status":"published","published":"2021-03-12T21:40:14Z","modified":"2024-08-03T21:40:12.191Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:08.811269Z"}],"euvd":[{"id":"EUVD-2021-0815","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","status":"published","published":"2021-03-12T21:40:14Z","modified":"2024-08-03T21:40:12Z","updated_at":"2026-11-03T03:24:47.350261Z"}],"ghsa":[{"id":"GHSA-cwg9-c9cr-p5fq","title":"Improper Neutralization of Input in Theia console","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","status":"published","published":"2021-04-13T15:18:53Z","modified":"2023-02-01T05:05:14Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:33.613868Z"}],"nvd":[{"id":"CVE-2021-28161","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","status":"published","published":"2021-03-12T22:15:15.077Z","modified":"2026-06-17T03:45:54.273Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:50.805771Z"}],"osv":[{"id":"CVE-2021-28161","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","status":"published","published":"2021-03-12T22:15:15.077Z","modified":"2026-10-20T10:53:41.642803677Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"GHSA-cwg9-c9cr-p5fq","title":"Improper Neutralization of Input in Theia console","description":"In Eclipse Theia versions up to and including 1.8.0, in the debug console there is no HTML escaping, so arbitrary Javascript code can be injected.","status":"published","published":"2021-04-13T15:18:53Z","modified":"2023-11-08T04:05:28.891741Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:45.639885Z"}]}}
