What’s Vulnerable › Vulnerabilities

CVE-2024-28184: WeasyPrint allows the attachment of arbitrary files and URLs to a PDF

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

How to fix

Upgrade to a fixed version: Kozea WeasyPrint 61.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-28184 or the next vulnerability affects your stack