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-45690 Vulnerability in maven package cn.hutool:hutool-json
CVE-2021-29481 Vulnerability in maven package io.ratpack:ratpack-session
CVE-2022-25897 Vulnerability in maven package org.eclipse.milo:sdk-server
CVE-2022-22965 Vulnerability in maven package org.springframework:spring-webmvc
CVE-2020-6460 Vulnerability in maven package org.webjars.npm:electron