{"id":"CVE-2026-118492","aliases":["CVE-2026-118492"],"related":[],"kind":"vulnerability","state":"published","title":"In Eclipse Langium versions 3.0.0 and later, the langium-sprotty package does not HTML-escape diagnostic messages before rendering them in…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-09T15:57:23.409Z","modified":"2026-11-12T20:07:11.090Z","severity":{"scorer":"eclipse","scheme":"CVSS: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","score":2,"rating":"LOW"},"severities":[{"scorer":"eclipse","scheme":"CVSS: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","score":2,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.0","lastAffected":"4.4.0","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse Langium","source":"cvelist"}],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1018","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx-hmcv","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/512","tags":[],"sources":["cvelist","nvd"]}],"credits":["Eclipse Foundation Security Team"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-12T16:25:53.162Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118492","url":"https://www.cve.org/CVERecord?id=CVE-2026-118492","licence":"CVE Terms of Use","modified":"2026-11-12T16:26:15.625Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118492","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118492","licence":"Public domain","modified":"2026-11-12T20:07:11.090Z"}],"updatedAt":"2026-11-25T22:59:49.599Z","epss":{"score":0.00246,"percentile":0.16998,"date":"2026-12-01T12:00:22.000Z"}}