CVE-2024-28184Kozea Weasyprint
High 7.4
Follow: this CVE · Kozea · Kozea Weasyprint We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 3.1
- 7.4
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 64
- Auth required
- Yes
- Published
- Mar 9, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-829
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Weasyprint.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | weasyprint |
≥ 61.0 < 61.2 |
61.2 |
pip install "weasyprint>=61.2" |
| PyPI | weasyprint |
≥ 61.0 < 61.2 |
61.2 |
pip install "weasyprint>=61.2" |
Per OSV / GitHub Advisories (GHSA-35jj-wx47-4w8r, PYSEC-2026-2033). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| kozea | weasyprint | ≥ 61.0 < 61.2 |
| fedoraproject | fedora | 40 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Vendor Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory