Vulnerability Details : CVE-2019-18212
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.
Vulnerability category: Directory traversal
Products affected by CVE-2019-18212
- cpe:2.3:a:eclipse:wild_web_developer:-:*:*:*:*:*:*:*
- cpe:2.3:a:xml_language_server_project:xml_server_project:*:*:*:*:*:*:*:*
- cpe:2.3:a:theia_xml_extension_project:theia_xml_extension:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-18212
0.37%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 72 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-18212
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:N/I:P/A:N |
8.0
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
NIST |
CWE ids for CVE-2019-18212
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-18212
-
https://github.com/angelozerr/lsp4xml/
GitHub - angelozerr/lsp4xml: XML Language ServerProduct
-
https://github.com/angelozerr/lsp4xml/pull/567
Reject download of resource which are not in the cache folder by angelozerr · Pull Request #567 · angelozerr/lsp4xml · GitHubPatch;Third Party Advisory
-
https://github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others
lsp4xml/CHANGELOG.md at master · angelozerr/lsp4xml · GitHubRelease Notes;Third Party Advisory
-
https://github.com/redhat-developer/vscode-xml/
GitHub - redhat-developer/vscode-xml: Editing XML in Visual Studio Code made easyPatch;Third Party Advisory
-
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml
XML - Visual Studio MarketplaceThird Party Advisory
-
https://www.shielder.it/blog/dont-open-that-xml-xxe-to-rce-in-xml-plugins-for-vs-code-eclipse-theia/
Don't open that XML: XXE to RCE in XML plugins for VS Code, Eclipse, Theia, ... - ShielderExploit;Third Party Advisory
Jump to