CVE-2026-118492
LOW 2.0CVSS 4.0In 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.
- Published
- 9 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Deferred
- Weakness
- CWE-79
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | emo@eclipse.org (Secondary) | CVSS 4.0 | LOW 2.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:A/V:D/RE:X/U:X |
References
- https://github.com/eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx-hmcv
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/512
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1018
History
- 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 9 Nov 2026)