CVE-2021-28162 json
Command Injection in @theia/messages
published 2021-03-12 5 y ago modified 2026-06-17 4 mo ago also GHSA-c94v-8fff-73ph , EUVD-2021-1039
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
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.
Patch / fix
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/eclipse-theia/theia/issues/7283 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @theia/messages | <1.0.0 |
1.0.0 |
Affected products
- The Eclipse Foundation Eclipse Theia
Classification
References
-
github.com
/eclipse-theia/theia/pull/7289
web
-
github.com
/eclipse-theia/theia/issues/7283
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-28162
advisory
-
github.com
/eclipse-theia/theia/blob/master/CHANGELOG.md#v100---26032020
web
Sources
- CVE List CVE-2021-28162
- GitHub Advisory GHSA-c94v-8fff-73ph
- NVD CVE-2021-28162
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.