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-2020-7740 Vulnerability in npm package node-pdf-generator
CVE-2021-23400 Vulnerability in npm package nodemailer
CVE-2020-28449 Vulnerability in npm package decal
CVE-2022-24822 Vulnerability in npm package @podium/layout
CVE-2022-28355 Vulnerability in maven package org.scala-js:scalajs-library_2.12