Skip to main content
← Vulnerabilities

In Eclipse Langium versions 3.0.0 and later, the langium-sprotty package does not HTML-escape diagnostic messages before rendering them in…

2.0LowCNA
Exploited
No known exploitation
Fix
No fix listed
Who is exposed
Not reported
Published
Last modified
7/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

Eclipse Langium's langium-sprotty package, in versions 3.0.0 and later, can let attacker-controlled JavaScript run in a browser or webview when a user hovers over an error marker in a malicious source file's diagram. The attacker reaches it locally, with no login needed, and the bug only applies when the grammar lets cross-reference text contain HTML markup.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

7Pcve.now Index 7 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity2/10CVSS 2.0
  • No patch5/5No patch listed yet

What would change the score

  • Would score about 62 if added to CISA KEV
  • Would score about 57 if CISA's SSVC rates exploitation active
  • Would score about 29 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Eclipse Foundation Eclipse Langium

    From 3.0.0 · through 4.4.0

Evidence 3

  1. Advisory
  2. Link
  3. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-118492

Is CVE-2026-118492 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-118492?

Eclipse Langium: from 3.0.0 through 4.4.0.Source: cve.now feed data