SecurityContext

CVE-2026-118492: Eclipse Langium - Cross-site Scripting

  • Cve: CVE-2026-118492
  • Name: Eclipse Langium - Cross-site Scripting
  • 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.
  • Impact: Attacker-controlled JavaScript executes in the victim's browser or webview, potentially leading to session hijacking or data theft.
  • Remediation: Update to the latest version of Eclipse Langium that includes the fix for this issue.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: User must hover over the error marker in a Sprotty diagram for a malicious source file.
  • Labels source: securitycontext
  • Severity: low
  • Cvss score: 2
  • Cvss vector: 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
  • Epss score: 0.00246
  • Epss percentile: 0.15835
  • Assignee: [email protected]
  • Published at: 2026-11-09T16:17:26Z
  • Age in days: 15
  • Modified at: 2026-11-12T20:07:11Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-118492
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx-hmcv
https://gitlab.eclipse.org/security/cve-assignment/-/work_items/512
https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1018

Projects

RepositoryLink kindsIndexedUrl
eclipse-langium/langiumsecurity_advisoryyes/v1/repositories/eclipse-langium/langium

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts