Skip to content
OpenAdvisories
High · 7.4 CVE-2024-28184 EUVD-2024-0798GHSA-35jj-wx47-4w8rPYSEC-2026-2033

WeasyPrint allows the attachment of arbitrary files and URLs to a PDF

Published Mar 9, 2024 · Updated Feb 13, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Kozea WeasyPrint >= 61.0, <= 61.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 weasyprint 61.2-1 —
Debian 13 weasyprint 61.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 weasyprint No fix yet —
Ubuntu 26.04 LTS weasyprint No fix yet —
Ubuntu 25.10 weasyprint No fix yet —
Ubuntu 24.04 LTS weasyprint No fix yet —
Ubuntu 22.04 LTS weasyprint No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS weasyprint No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI weasyprint >= 61.0, < 61.2 61.2 GHSA-35jj-wx47-4w8r

References