CVE-2021-28161
MEDIUM 6.1CVSS 3.1Improper Neutralization of Input in Theia console
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.
- Published
- 12 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-cwg9-c9cr-p5fq
- Sources
- NVDJSONOSV GHSA-cwg9-c9cr-p5fqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eclipse | theiacpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:* |
<= 1.8.0 | |
| OSV | npm | @theia/console | < 1.8.1 | 1.8.1 |
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
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Mar 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Apr 2021)