CVE-2024-28184 WeasyPrint allows the attachment of arbitrary files and URLs to a PDF
HighCVSS 7.4
EPSS 0.74%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 4 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/weasyprint(Ubuntu 20.04) | = 50-2; = 51-1; = 51-2; All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 22.04) | = 51-2; = 51-3; = 53.4-1; = 54.0-1 +2 more | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 24.04) | = 59.0-1; = 60.2-1; = 61.0-1; = 61.1-1 +1 more | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 25.10) | = 62.3-1; All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 26.04) | = 62.3-1; = 62.3-1build1; = 67.0-1; All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 26.10) | = 67.0-1; = 69.0-1; = 69.0-2; All versions | No fix listed | No fix yet |
| debian/weasyprint(Debian 13) | < 61.2-1 | 61.2-1 | Fixed |
| debian/weasyprint(Debian 14) | < 61.2-1 | 61.2-1 | Fixed |
| Kozea WeasyPrint | = >= 61.0, <= 61.1; >= 61.0, < 61.2 | 61.2 | Fixed |
| pypi weasyprint(PyPI) | = 61.0; = 61.1; >= 61.0, < 61.2; >= 61.0, <= 61.1 | 61.2 | Fixed |
| fedoraproject fedora | = 40 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi weasyprint(PyPI) | >= 61.0, < 61.2 | 61.2 |
| pypi weasyprint(PyPI) | = 61.0 | No fix listed |
| pypi weasyprint(PyPI) | = 61.1 | No fix listed |
| pypi weasyprint(PyPI) | >= 61.0, <= 61.1 | No fix listed |
| debian/weasyprint(Debian:13) | < 61.2-1 | 61.2-1 |
| debian/weasyprint(Debian:14) | < 61.2-1 | 61.2-1 |
| ubuntu/weasyprint(Ubuntu:22.04) | All versions | No fix listed |
| Kozea WeasyPrint | = >= 61.0, <= 61.1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | All versions | No fix listed |
| Kozea WeasyPrint | >= 61.0, < 61.2 | 61.2 |
| fedoraproject fedora | = 40 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:20.04) | = 50-2 | No fix listed |
| ubuntu/weasyprint(Ubuntu:20.04) | = 51-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:20.04) | = 51-2 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | = 51-2 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | = 51-3 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | = 53.4-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | = 54.0-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | = 54.1-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | = 59.0-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | = 60.2-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | = 61.0-1 | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/weasyprint(Ubuntu:24.04) | = 61.1-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:25.10) | = 62.3-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | = 67.0-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | = 69.0-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | = 69.0-2 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | = 62.3-1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | = 62.3-1build1 | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | = 67.0-1 | No fix listed |
References
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598 issue-tracking patch
- github.com product
- lists.fedoraproject.org issue-tracking mailing-list third-party-advisory
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2024-28184 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking