cvelo
P4 · InfoCVSS 2.0EPSS 0.2%

CVE-2026-118492

  • CVE-2026-118492
  • GHSA-cw7r-mhgg-m7v3
  • EUVD-2026-120085

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Eclipse Foundation Eclipse Langium

    Affected versionsFixed in
    from 3.0.0 up to 4.4.0none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.