Server-side Request Forgery (SSRF) via img tags in reportlab
High severity
GitHub Reviewed
Published
Mar 29, 2021
to the GitHub Advisory Database
•
Updated Oct 26, 2024
Description
Published by the National Vulnerability Database
Feb 18, 2021
Reviewed
Mar 19, 2021
Published to the GitHub Advisory Database
Mar 29, 2021
Last updated
Oct 26, 2024
All versions of package reportlab at time of writing are vulnerable to Server-side Request Forgery (SSRF) via img tags. In order to reduce risk, use trustedSchemes & trustedHosts (see in Reportlab's documentation)
Steps to reproduce by Karan Bamal:
<img src="http://127.0.0.1:5000" valign="top"/>
nc -lp 5000
References