{"id":"CVE-2021-28162","aliases":["CVE-2021-28162","GHSA-c94v-8fff-73ph"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in @theia/messages","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Eclipse Theia versiones hasta 0.16.0 incluyendo, en los mensajes de notificación no se presenta un escape HTML, por lo que se puede ejecutar el código Javascript","source":"nvd"}],"published":"2021-03-12T21:40:15.000Z","modified":"2026-06-17T03:45:54.377Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-829","CWE-830"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"0.16.0","status":"affected"}],"vendor":"The Eclipse Foundation","product":"Eclipse Theia","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.0"}],"ecosystem":"npm","package":"@theia/messages","purl":"pkg:npm/%40theia/messages","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.16.0"}],"vendor":"eclipse","product":"theia","cpe":"cpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/eclipse-theia/theia/issues/7283","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28162","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-theia/theia/pull/7289","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"eclipse","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28162","url":"https://www.cve.org/CVERecord?id=CVE-2021-28162","licence":"CVE Terms of Use","modified":"2024-08-03T21:40:12.087Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c94v-8fff-73ph","url":"https://github.com/advisories/GHSA-c94v-8fff-73ph","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:28.951Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28162","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28162","licence":"Public domain","modified":"2026-06-17T03:45:54.377Z"}],"updatedAt":"2026-11-25T22:58:00.286Z","epss":{"score":0.00776,"percentile":0.57013,"date":"2026-12-01T12:00:22.000Z"}}