{"id":"CVE-2026-118492","published":"2026-11-09T15:57:23Z","modified":"2026-11-12T16:26:15Z","title":"In Eclipse Langium versions 3.0.0 and later, the langium-sprotty package does not HTML-escape diagnostic messages…","vendor":"Eclipse Foundation","product":"Eclipse Langium","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00246,"percentile":0.1601,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1018","tags":[]},{"url":"https://github.com/eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx-hmcv","tags":[]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/512","tags":[]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":3.2},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"eclipse-foundation","affectedVersions":[{"vendor":"Eclipse Foundation","product":"Eclipse Langium","versions":[">= 3.0.0, <= 4.4.0"]}],"capec":[{"id":"CAPEC-63","name":null}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-12T16:25:53.162104Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-120085","exploited":false,"provenance":"source"}}