CVE-2024-1647Kumaf Pyhtml2pdf
High 7.5 No auth needed
Follow: this CVE · Kumaf · Kumaf Pyhtml2pdf We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- No
- Published
- Feb 20, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
Pyhtml2pdf version 0.0.6 allows an external attacker to remotely obtain
arbitrary local files. This is possible because the application does not
validate the HTML content entered by the user.
What to do
- Apply the vendor's security update for Pyhtml2pdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyhtml2pdf |
≤ 0.0.6 |
no fixed version | — |
| PyPI | pyhtml2pdf |
≤ 0.0.6 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-p3rv-qj56-2fqx, PYSEC-2024-301). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kumaf | pyhtml2pdf | 0.0.6 |
Official sources
References
Links published by the sources. Open them with care.
- fluidattacks.com Exploit Third Party Advisory
- pypi.org Product