NetSight
niedrig2.0

CVE-2026-118492

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 po…

Auswirkung

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.

Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert.

Betroffene Produkte · Eclipse Foundation

ProduktBetroffene Versionen
Eclipse Langium
ab 3.0.0 bis einschließlich 4.4.0
Version 3.0.0 ≤4.4.0

Schwachstellenklasse

Referenzen