{"id":"CVE-2021-28162","aliases":["EUVD-2021-1039","GHSA-c94v-8fff-73ph"],"status":"published","title":"Command Injection in @theia/messages","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","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.00776,"percentile":0.56077,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-829","CWE-830"],"published":"2021-03-12T21:40:15Z","modified":"2026-10-20T10:54:35Z","fixes":[{"ecosystem":"npm","package":"@theia/messages","fixed_in":["1.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@theia/messages","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@theia/messages","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]}],"products":[{"vendor":"eclipse","product":"theia"},{"vendor":"the eclipse foundation","product":"eclipse theia"}],"references":[{"url":"https://github.com/eclipse-theia/theia/issues/7283","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28162","tags":["advisory"]},{"url":"https://github.com/eclipse-theia/theia/pull/7289","tags":["web"]},{"url":"https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c94v-8fff-73ph"}],"sources":{"cve":[{"id":"CVE-2021-28162","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","status":"published","published":"2021-03-12T21:40:15Z","modified":"2024-08-03T21:40:12.087Z","cwes":["CWE-830"],"updated_at":"2026-11-02T14:33:08.811269Z"}],"euvd":[{"id":"EUVD-2021-1039","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","status":"published","published":"2021-03-12T21:40:15Z","modified":"2024-08-03T21:40:12Z","updated_at":"2026-11-03T03:24:47.350261Z"}],"ghsa":[{"id":"GHSA-c94v-8fff-73ph","title":"Command Injection in @theia/messages","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","status":"published","published":"2021-05-10T15:36:55Z","modified":"2023-02-01T05:05:35Z","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-829"],"updated_at":"2026-11-02T14:36:34.917834Z"}],"nvd":[{"id":"CVE-2021-28162","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","status":"published","published":"2021-03-12T22:15:15.157Z","modified":"2026-06-17T03:45:54.377Z","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-830","CWE-829"],"updated_at":"2026-11-02T14:06:50.805771Z"}],"osv":[{"id":"CVE-2021-28162","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","status":"published","published":"2021-03-12T22:15:15.157Z","modified":"2026-10-20T10:54:35.846499987Z","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-c94v-8fff-73ph","title":"Command Injection in @theia/messages","description":"In Eclipse Theia versions up to and including 0.16.0, in the notification messages there is no HTML escaping, so Javascript code can run.","status":"published","published":"2021-05-10T15:36:55Z","modified":"2023-11-08T04:05:28.951772Z","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-829"],"updated_at":"2026-11-02T15:46:44.927642Z"}]}}
