Cross-site scripting in Eclipse Langium Sprotty hover popup
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Eclipse Langium from 3.0.0 through 4.4.0 has a cross-site scripting flaw (CWE-79) in its langium-sprotty package. The default hover popup from addHoverPopupHandler does not HTML-escape diagnostic messages. If a grammar allows HTML markup in cross-reference text, an unresolved reference puts that markup into the message. When a user hovers over the error marker in a Sprotty diagram of a malicious source file, attacker-controlled JavaScript runs in the browser or webview.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | Eclipse Langium | 3.0.0 – 4.4.0 | — | No fix listed | CNA |
- Eclipse Langium VendorEclipse Foundation Affected 3.0.0 – 4.4.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Eclipse Langium.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Timeline
- 2026-11-09 Threatist record created from CVE-2026-118492
- 2026-11-09 Alias added: GHSA-cw7r-mhgg-m7v3
- 2026-11-12 CISA SSVC decision points changed
- 2026-11-12 Priority changed: LOW → MEDIUM
References
More Eclipse Foundation vulnerabilities
- TI-2023-23979 HTTP/2 request cancellation lets attackers exhaust server resources KEVCVSS 3.1HIGH 7.5
- TI-2026-81947 Unauthenticated command injection in Eclipse Che che-machine-exec CVSS 3.1CRITICAL 9.8
- TI-2026-13216 CWE-863: ABAC authorization bypass via trailing slash route normalization in Eclipse BaSyx Go Components CVSS 3.1CRITICAL 9.8
- TI-2026-06514 Path traversal in Eclipse BaSyx CVSS 3.1CRITICAL 10.0
- TI-2026-01382 In the Eclipse Theia Website repository, the GitHub Actions workflow… CVSS 3.1CRITICAL 10.0
- TI-2026-74697 Authentication bypass in Eclipse Jetty EthereumAuthenticator CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-118492 · CVE Program
- CVE-2026-118492 · NVD
- FIRST EPSS
- GHSA-cw7r-mhgg-m7v3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences