A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /eclipse-langium/langium/security/advisories/GHSA-7c4f-7qwx…
- gitlab.eclipse.org /security/cve-assignment/-/work_items/512
- gitlab.eclipse.org /security/vulnerability-reports/-/work_items/1018
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning