CVE-2019-18213: XML Language Server - XML External Entity Injection
- Cve: CVE-2019-18213
- Name: XML Language Server - XML External Entity Injection
- Description: 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 XXE via a crafted XML document, with resultant SSRF (as well as SMB connection initiation that can lead to NetNTLM challenge/response capture for password cracking). This occurs in extensions/contentmodel/participants/diagnostics/LSPXMLParserConfiguration.java.
- Impact: Attackers can perform SSRF and initiate SMB connections, potentially leading to network compromise and password cracking via NetNTLM challenge/response capture.
- Remediation: Update to version 0.9.1 or later.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: man_in_the_middle
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01981
- Epss percentile: 0.81081
- Assignee: [email protected]
- Published at: 2019-10-23T22:15:10Z
- Age in days: 2589
- Modified at: 2026-06-17T02:24:29Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-18213
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-theia/ | nvd | 2019-10-23 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/angelozerr/lsp4xml/pull/566 | Patch, Third Party Advisory |
| https://github.com/redhat-developer/vscode-xml/ | Patch, Third Party Advisory |
| https://www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-theia/ | Exploit, Third Party Advisory |
| https://github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others | Release Notes, Third Party Advisory |
| https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml | Third Party Advisory |
| https://github.com/angelozerr/lsp4xml/ | Product |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| angelozerr/lsp4xml | pull | yes | /v1/repositories/angelozerr/lsp4xml |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-10-23
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts