PT-2026-140435
CVE-2026-118492
·
Published
2026-11-09
·
Updated
2026-11-09
Description by
CVSS 4.0
2.0
LowMetricsAV: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
Name of the Vulnerable Software and Affected Versions
Eclipse Langium versions 3.0.0 and later
Description
The
langium-sprotty package fails to HTML-escape diagnostic messages before they are rendered in the default hover popup provided by the addHoverPopupHandler() function. If a grammar allows cross-reference text to contain HTML markup, such as through a STRING terminal, an unresolved cross-reference will generate a diagnostic message containing the literal reference text. This allows attacker-controlled JavaScript to execute in the browser or webview when a user hovers over an error marker in a Sprotty diagram opened from a malicious source file.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾