StraitOfVuln
Latest / CVE-2026-118492

CVE-2026-118492

LowCVSS 2.0 (v4.0)Deferred
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-118492
Published / updated
09 Nov 2026, 16:17 UTC · last modified 12 Nov 2026, 20:07 UTC
Severity
LOW
CVSS score
2.0 · v4.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 · Attack vector: Local
Affected vendor
Eclipse Foundation
Affected products
Eclipse Langium
Affected versions
Eclipse Langium: 3.0.0 to 4.4.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.25% probability of exploitation in the next 30 days · 17% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
emo@eclipse.org