CVE-2024-28184

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

Published Mar 9, 2024 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0798 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.
Github GHSA Github GHSA GHSA-35jj-wx47-4w8r WeasyPrint allows the attachment of arbitrary files and URLs to a PDF
History
Type Values Removed Values Added
First Time appeared Fedoraproject
Fedoraproject fedora
Kozea
Kozea weasyprint
CPEs cpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Vendors & Products Fedoraproject
Fedoraproject fedora
Kozea
Kozea weasyprint
Type Values Removed Values Added
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. 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:47 PM
Reserved
Mar 6, 2024, 5:35 PM
Status
Analyzed
Published
Mar 9, 2024, 1:15 AM
Modified
Jun 17, 2026, 7:21 AM