Skip to content
RedCVE

CVE-2026-118492Eclipse Langium cross-site scripting (XSS)

eclipsePublished:

CVSS score

2.0

Low

CVSS 4.0 from eclipse.org

Exploit probability (EPSS)

0.25%

0.25% chance of exploitation in the next 30 days, higher than 16.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: emo@eclipse.org

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Eclipse Langium and compare its version with the affected versions.

  2. Watch for an official fix

    No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
None
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV: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

Affected products

Affected productsVersions
eclipse Eclipse Langium≥ 3.0.0, ≤ 4.4.0

Weakness

  • CWE-79 cross-site scripting (XSS)

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-118492 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-118492?

CVE-2026-118492 has a CVSS 4.0 base score of 2.0 (low).

Which versions are affected?

Eclipse Eclipse Langium (≥ 3.0.0, ≤ 4.4.0)

Is there a patch for CVE-2026-118492?

No patch is linked in the official record yet. Watch the vendor's security advisories.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.