CVE-2024-28184
HIGH 7.4CVSS 3.1WeasyPrint allows the attachment of arbitrary files and URLs to a PDF
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.
- Published
- 9 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-829
- Also known as
- GHSA-35jj-wx47-4w8rPYSEC-2026-2033
- Sources
- NVDJSONOSV GHSA-35jj-wx47-4w8rJSONOSV PYSEC-2026-2033JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kozea | weasyprintcpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:* |
>= 61.0, < 61.2 | 61.2 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
= 40 | |
| OSV | PyPI | weasyprint | >= 61.0, < 61.2 | 61.2 |
References
- https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598 · Patch, WEB
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r · Vendor Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/ · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-28184 · ADVISORY
- https://github.com/Kozea/WeasyPrint · PACKAGE
- https://pypi.org/project/weasyprint · PACKAGE
- https://github.com/advisories/GHSA-35jj-wx47-4w8r · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 9 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Mar 2024)