# CVE-2021-28161: Improper Neutralization of Input in Theia console

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-03-12T21:40:14.000Z
- Modified: 2026-06-17T03:45:54.273Z
- Also known as: GHSA-cwg9-c9cr-p5fq
- Weaknesses: CWE-79
- Assigned by: eclipse

## 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.

(As written by CVE List.)

## Affected

- The Eclipse Foundation Eclipse Theia: from unspecified up to 1.8.0
- @theia/console (npm): before 1.8.1
- eclipse theia: up to 1.8.0

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/eclipse-theia/theia/issues/8794> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28161> (advisory)

## Sources

- CVE List: [CVE-2021-28161](https://www.cve.org/CVERecord?id=CVE-2021-28161), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-cwg9-c9cr-p5fq](https://github.com/advisories/GHSA-cwg9-c9cr-p5fq), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-28161](https://nvd.nist.gov/vuln/detail/CVE-2021-28161), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28161 · Whole record: https://cve.day/CVE-2021-28161.json · Rebuilt by cve.day 2026-11-25T22:58:00.286Z
