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.
Remediation
References
https://github.com/angelozerr/lsp4xml/
https://github.com/redhat-developer/vscode-xml/
https://github.com/angelozerr/lsp4xml/pull/567
https://github.com/angelozerr/lsp4xml/blob/master/CHANGELOG.md#others
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/
Related Vulnerabilities
CVE-2021-39149 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2023-26126 Vulnerability in npm package m.static
CVE-2020-36186 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2021-21277 Vulnerability in npm package angular-expressions
CVE-2021-25642 Vulnerability in maven package org.apache.hadoop:hadoop-yarn-server-resourcemanager