Description
This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.
Remediation
References
https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938
https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935
https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936
Related Vulnerabilities
CVE-2022-21208 Vulnerability in npm package node-opcua
CVE-2021-24033 Vulnerability in npm package react-dev-utils
CVE-2022-31147 Vulnerability in maven package org.webjars.bower:jquery-validation
CVE-2020-28423 Vulnerability in npm package monorepo-build
CVE-2021-46366 Vulnerability in maven package info.magnolia:magnolia-core