{"id":"CVE-2021-28161","aliases":["CVE-2021-28161","GHSA-cwg9-c9cr-p5fq"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Neutralization of Input in Theia console","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Eclipse Theia versiones hasta 1.8.0 incluyendo, en la consola de depuración no se presenta un escape HTML, por lo que puede ser inyectado código Javascript arbitrario","source":"nvd"}],"published":"2021-03-12T21:40:14.000Z","modified":"2026-06-17T03:45:54.273Z","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-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"1.8.0","status":"affected"}],"vendor":"The Eclipse Foundation","product":"Eclipse Theia","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.1"}],"ecosystem":"npm","package":"@theia/console","purl":"pkg:npm/%40theia/console","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.8.0"}],"vendor":"eclipse","product":"theia","cpe":"cpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/eclipse-theia/theia/issues/8794","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-28161","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"eclipse","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28161","url":"https://www.cve.org/CVERecord?id=CVE-2021-28161","licence":"CVE Terms of Use","modified":"2024-08-03T21:40:12.191Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cwg9-c9cr-p5fq","url":"https://github.com/advisories/GHSA-cwg9-c9cr-p5fq","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:28.891Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28161","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28161","licence":"Public domain","modified":"2026-06-17T03:45:54.273Z"}],"updatedAt":"2026-11-25T22:58:00.286Z","epss":{"score":0.00708,"percentile":0.54689,"date":"2026-12-01T12:00:22.000Z"}}