CVE-2024-28184: WeasyPrint allows the attachment of arbitrary files and URLs to a PDF
Vulnerability summary
CVE-2024-28184 is a high (CVSS 7.4) vulnerability in fedoraproject fedora. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 55.8% of scored vulnerabilities.
Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 09-03-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
WeasyPrint helps web developers to create PDF documents. Since version 61.0, there's a vulnerability which allows attaching content of arbitrary files and URLs to a generated PDF document, even if `url_fetcher` is configured to prevent access to files and URLs. This vulnerability has been patched in version 61.2.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
EPSS trend
Probability
0.74%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.74% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- weasyprint< 61.2-1
Fedoraproject1 product
- fedoraEOL40
Kozea1 product
- weasyprint≥ 61.0, ≤ 61.1 | ≥ 61.0, < 61.2
PyPI1 product
- weasyprint≥ 61.0, < 61.2
Ubuntu1 product
- weasyprintAll versions (No fix recorded)
5 vendors · 5 products
References
11 links- github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8rX Refsource CONFIRMWEBREPORTVendor Advisory
- github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598X Refsource MISCWEBREPORTPatch
- github.com/Kozea/WeasyPrintPACKAGE
- pypi.org/project/weasyprintPACKAGE