2.0
LOW CVSS 4.0
CVE-2026-118492
Eclipse Langium langium-sprotty Cross-Site Scripting Vulnerability
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.

INFO

Published Date :

Nov. 9, 2026, 3:57 p.m.

Last Modified :

Nov. 9, 2026, 3:57 p.m.

Remotely Exploit :

No

Source :

eclipse
Affected Products

The following products are affected by CVE-2026-118492 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 LOW e51fbebd-6053-4e49-959f-1b94eeb69a2c
Solution
Ensure diagnostic messages are properly escaped to prevent XSS vulnerabilities.
  • Update langium-sprotty to a version that fixes this issue.
  • Sanitize diagnostic messages before rendering.
  • Avoid allowing HTML in cross-reference text.
  • Review security of terminal definitions.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-118492 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.