Technical impact
The issue in Eclipse Langium’s langium‑sprotty component causes diagnostic messages from unresolved cross‑references to be inserted into hover popups without HTML‑escaping. When a grammar allows cross‑reference text to contain HTML—such as through a STRING terminal—the resulting diagnostic includes the raw reference text. A malicious source file that triggers an unresolved reference can therefore inject JavaScript; hovering over the error marker activates the injected code, delivering client‑side script execution within the browser or webview that is rendering the diagram. This flaw is identified as a CWE‑79 Cross‑Site Scripting vulnerability.
Affected Systems
The vulnerability impacts all Eclipse Langium distributions released by the Eclipse Foundation from version 3.0.0 onward. No other vendor or product outside of Eclipse Langium is affected according to the CNA data.
Risk and Exploitability
Although the CVSS score of 2.0 reflects a low overall risk, the vulnerability still permits arbitrary JavaScript in the victim’s browser context. The EPSS score is not available, and the issue is not in the CISA KEV catalog. Exploitation requires a client‑side action (hovering over an error marker) after the victim opens a crafted file. No public exploitation reports exist at this time, but the mechanism is straightforward enough that a determined attacker could trigger it with a phishing or malicious file distribution.