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.
Remediation
References
https://github.com/angelozerr/lsp4xml/pull/566
https://github.com/angelozerr/lsp4xml/
https://github.com/redhat-developer/vscode-xml/
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-2023-40817 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2022-4942 Vulnerability in npm package eslint-detailed-reporter
CVE-2021-44906 Vulnerability in npm package minimist
CVE-2023-45669 Vulnerability in maven package com.webauthn4j:webauthn4j-spring-security-core
CVE-2022-25927 Vulnerability in maven package org.webjars.bowergithub.faisalman:ua-parser-js