What’s Vulnerable › Vulnerabilities
CVE-2019-18212
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-10-23 · updated 2026-06-17
- Weakness: CWE-22
Description
XMLLanguageService.java in XML Language Server (aka lsp4xml) before 0.9.1, as used in Red Hat XML Language Support (aka vscode-xml) before 0.9.1 for Visual Studio and other products, allows a remote attacker to write to arbitrary files via Directory Traversal.
Affected products
- eclipse Wild Web Developer: all versions
- Theia Xml Extension Project Theia Xml Extension: all versions
- Xml Language Server Project Xml Server Project: before 0.9.1 — fixed in 0.9.1
How to fix
Upgrade to a fixed version: Xml Language Server Project Xml Server Project 0.9.1. Check the vendor advisory for mitigations.
References
- https://github.com/angelozerr/lsp4xml/
- https://github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others
- https://github.com/angelozerr/lsp4xml/pull/567
- https://github.com/redhat-developer/vscode-xml/
- https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml
- https://www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-theia/
- https://github.com/angelozerr/lsp4xml/
- https://github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others
- https://github.com/angelozerr/lsp4xml/pull/567
- https://github.com/redhat-developer/vscode-xml/
- https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml
- https://www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-theia/
Get alerted when CVE-2019-18212 or the next vulnerability affects your stack