CVE-2020-28463Reportlab
Medium 6.5
Follow: this CVE · Reportlab · Reportlab We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- Yes
- Published
- Feb 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
All versions of package reportlab 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: 1. Download and install the latest package of reportlab 2. Go to demos -> odyssey -> dodyssey 3. In the text file odyssey.txt that needs to be converted to pdf inject <img src="http://127.0.0.1:5000" valign="top"/> 4. Create a nc listener nc -lp 5000 5. Run python3 dodyssey.py 6. You will get a hit on your nc showing we have successfully proceded to send a server side request 7. dodyssey.py will show error since there is no img file on the url, but we are able to do SSRF
What to do
- Apply the vendor's security update for Reportlab.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | reportlab |
< 3.5.55 |
3.5.55 |
pip install "reportlab>=3.5.55" |
| PyPI | reportlab |
< 3.5.55 |
3.5.55 |
pip install "reportlab>=3.5.55" |
Per OSV / GitHub Advisories (GHSA-mpvw-25mg-59vx, PYSEC-2021-146). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| reportlab | reportlab | all |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- snyk.io Exploit Release Notes Third Party Advisory
- www.reportlab.com Product Vendor Advisory