CVE-2021-28162
MEDIUM 6.1CVSS 3.1Command Injection in @theia/messages
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.
- Published
- 12 Mar 2021
- Last modified
- 17 Jun 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Modified
- Weakness
- CWE-829CWE-830
- Also known as
- GHSA-c94v-8fff-73ph
- Sources
- NVDJSONOSV GHSA-c94v-8fff-73phJSON
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:*:*:*:*:*:*:*:* |
<= 0.16.0 | |
| OSV | npm | @theia/messages | < 1.0.0 | 1.0.0 |
References
- https://github.com/eclipse-theia/theia/issues/7283 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-28162 · ADVISORY
- https://github.com/eclipse-theia/theia/pull/7289 · WEB
- https://github.com/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 12 Mar 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 May 2021)