Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Code Injection vulnerabilities in an interactive lesson.
Start learningUpgrade xmlhttprequest
to version 1.7.0 or higher.
xmlhttprequest is a wrapper for the built-in http client to emulate the browser XMLHttpRequest object.
Affected versions of this package are vulnerable to Arbitrary Code Injection. 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.
const { XMLHttpRequest } = require("xmlhttprequest")
const xhr = new XMLHttpRequest() xhr.open("POST", "http://localhost.invalid/", false /* use synchronize request */) xhr.send("\');require("fs").writeFileSync("/tmp/aaaaa.txt", "poc-20210306");req.end();//")