Skip to main content

Eclipse Langium EUVDEUVD-2026-120085

| CVE-2026-118492 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-11-09 eclipse GHSA-cw7r-mhgg-m7v3
2.0
CVSS 4.0 · Vendor: eclipse
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious Langium source file
  2. Delivery
    Unresolved cross-reference yields HTML-laden diagnostic
  3. Exploit
    Victim opens Sprotty diagram and hovers error marker
  4. Execution
    Unescaped popup renders attacker markup
  5. Impact
    JavaScript 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 addHoverPopupHandler; (2) the Langium grammar must be written so that cross-reference text can contain HTML markup (e.g., through a STRING terminal) - grammars that do not allow this are not exploitable; (3) the source file must contain an unresolved cross-reference so the diagnostic message echoes the literal ref text; and (4) a victim must open a Sprotty diagram for the malicious file and actively hover over the corresponding error marker. Limiting factors: local attack vector (AV:L, the attacker must get a malicious source file to the victim), passive user interaction required (hover), and a grammar configuration that permits HTML in cross-references - this is what keeps real-world risk low despite the client-side script execution.

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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Eclipse Langium 3.0.0 ≤4.4.0

Affected Packages

euvd eclipse_langium no fix

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

Vendor (eclipse) PRIMARY 2.0 LOW
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
vuln.today AI 4.1 MEDIUM

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.

3.1 AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (eclipse).

CVSS VectorVendor: eclipse

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche developer language-engineering framework; langium-sprotty is a specialized sub-package
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy