# CVE-2026-118492

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-09 · Modified: 2026-11-12
- Record: https://cvemate.com/vulnerability/CVE-2026-118492 · JSON: https://cvemate.com/vulnerability/CVE-2026-118492/json

## Description

```text
In Eclipse Langium versions 3.0.0 and later, the langium-sprotty package does not HTML-escape diagnostic messages before rendering them in the default hover popup provided by `addHoverPopupHandler`. If a Langium grammar allows cross-reference text to contain HTML markup (such as through a STRING terminal), an unresolved cross-reference produces a diagnostic message that includes the literal ref text. When a Sprotty diagram is opened for a malicious source file under these conditions, and a user hovers over the corresponding error marker, attacker-controlled JavaScript can execute in the browser or webview.
```

## Signals

- CVSS: 2 low (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/AU:N/R:A/V:D
- EPSS: 0.246%, percentile 16.949%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- eclipse foundation eclipse langium: ≥ 3.0.0, ≤ 4.4.0

## References

- <https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1018>
- <https://github.com/eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx-hmcv>
- <https://gitlab.eclipse.org/security/cve-assignment/-/work_items/512>

---

Data as of 2026-12-05T03:57:19.202Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
