Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious Langium source file
-
DeliveryUnresolved cross-reference yields HTML-laden diagnostic
-
ExploitVictim opens Sprotty diagram and hovers error marker
-
ExecutionUnescaped popup renders attacker markup
-
ImpactJavaScript executes in browser/webview
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a specific non-default confluence of conditions, all drawn from the description: (1) the affected product is Eclipse Langium 3.0.0 or later using the langium-sprotty package with the default hover popup wired via |
| Impact | All decision signals point to low real-world priority. The vuln.today Decision label is 'monitor' (not act_now/emergency), there is no CISA KEV listing, no EPSS score was supplied, and no public exploit code is referenced - only Eclipse/GitLab advisory and CVE-assignment links. The supplied CVSS 4.0 vector is AV:L/AC:L/AT:P/PR:N/UI:P with no vulnerable-system impact (VC:N/VI:N/VA:N) and only low subsequent-system confidentiality/integrity (SC:L/SI:L), yielding a base score of 2.0 - consistent with a constrained, user-interaction-dependent client-side XSS rather than a server-side RCE. The AT:P (attack requirements present) and UI:P (passive user interaction) metrics align with the description's multi-condition trigger: the Langium grammar must permit HTML in cross-reference text, a malicious source file must be opened, and the victim must hover over the error marker. This is a genuine CWE-79 issue but a low-urgency one; the main residual uncertainty is that no fixed version is given in the available sources and no EPSS/POC data is present to further calibrate exploitation likelihood. |
| Exploit ScenarioDerived | An attacker crafts a malicious source file for a Langium-based language whose grammar allows HTML markup inside cross-reference text (for example via a STRING terminal), using an unresolved cross-reference so the diagnostic message echoes the literal ref text. A developer opens a Sprotty diagram for that file and hovers over the resulting error marker, at which point the unescaped diagnostic is rendered in the default hover popup and attacker-controlled JavaScript executes in the browser or webview. No public exploit code is identified at time of analysis; the references are advisory pages, not verified working exploits. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Cross-site scripting in Eclipse Langium's langium-sprotty hover popup can execute attacker-controlled JavaScript when a user opens a Sprotty diagram for a crafted source file and hovers over an unresolved cross-reference error marker. Eclipse Langium 3.0.0 and later are affected when the integration uses the default addHoverPopupHandler and the grammar permits HTML markup in cross-reference text; deployments whose grammars disallow such markup are not exploitable under the described conditions. No public exploit has been identified at time of analysis, and the provided CVSS 4.0 score is 2.0, with an independent CVSS 3.1 assessment of AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N reflecting the local vector, high attack complexity, and required hover interaction.
RemediationAI
No vendor-released fixed version is identified in the supplied data; consult the Eclipse advisory at https://github.com/eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx-hmcv and the GitLab vulnerability report at https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1018 for the patched langium-sprotty release and upgrade to that version when confirmed. If an immediate upgrade is not possible, the direct code-level mitigation is to HTML-escape or sanitize diagnostic message text before it reaches the default hover popup DOM, or replace addHoverPopupHandler with a custom hover handler that performs that escaping; this is a source change to the integration and may alter hover formatting. Operationally, avoid opening Sprotty diagrams for untrusted source files and avoid hovering over unresolved cross-reference error markers in such files, at the cost of losing diagnostic hover functionality for those inputs. Restricting diagram use to trusted workspaces is a compensating control but does not fix the underlying escaping defect.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Eclipse Langium is a language engineering framework used to build domain-specific languages and editor tooling; the langium-sprotty package bridges Langium diagnostics with Sprotty diagram views. The default addHoverPopupHandler in langium-sprotty inserts diagnostic message text into a hover popup without HTML-escaping it, which is the CWE-79 root cause. When a grammar allows cross-reference text to contain HTML markup (for example through a STRING terminal) and a cross-reference remains unresolved, the diagnostic message includes the literal reference text, so the popup can carry attacker-supplied markup into the browser or webview DOM. The assessed exploit path is narrow: it requires the default hover popup to be in use, a grammar that permits HTML in cross-reference text, a malicious source file with an unresolved cross-reference, and a victim who opens the Sprotty diagram and hovers over the error marker. The CPE cpe:2.3:a:eclipse_foundation:eclipse_langium:*:*:*:*:*:*:*:* identifies the Langium project; the CVSS 4.0 vector includes AT:P and UI:P, while the independent CVSS 3.1 vector is AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N and the scope change reflects script execution in the diagram/browser context.
Know when Eclipse Langium gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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/AU:N/R:A/V:D
Local malicious-file vector (AV:L), grammar must allow HTML in cross-refs so AC:H, victim hover gives UI:R, and script escaping the diagnostic into the webview is S:C with low C/I impact.
Primary rating from Vendor (eclipse).
CVSS VectorVendor: eclipse
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-120085
GHSA-cw7r-mhgg-m7v3
NVD
CVE.org
EPSS
Exploit-DB