CVE-2026-118492

Source
https://cve.org/CVERecord?id=CVE-2026-118492
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118492.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118492
Aliases
  • GHSA-7c4f-7qwx-hmcv
Published
2026-11-09T15:57:23Z
Modified
2026-11-14T02:30:32Z
Severity
  • 2.0 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner":  "eclipse",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118492.json"
}
References

Affected packages

Git / github.com/eclipse-langium/langium

Affected ranges

Type
GIT
Repo
https://github.com/eclipse-langium/langium
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "3.0.0"
                },
                {
                    "last_affected":  "4.4.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

v3.*
v3.0.0
v3.1.0
v3.2.0
v3.3.1
v3.4.0
v3.5.0
v4.*
v4.0.0
v4.1.0
v4.2.0
v4.3.0
v4.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118492.json"