logo

CVE-2024-28184 weasyprint

Package

Manager: pip
Name: weasyprint
Vulnerable Version: >=61.0 <61.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

EPSS: 0.00069 pctl0.21514

Details

WeasyPrint allows the attachment of arbitrary files and URLs to a PDF ### Impact 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. ### Patches Fixed by 734ee8e that’s included in 61.2 ### Workarounds - Check that no PDF attachment is defined in source HTML. - Launch WeasyPrint in a sandbox that prevents access to the filesystem and the network.

Metadata

Created: 2024-03-08T20:42:52Z
Modified: 2025-02-13T19:08:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-35jj-wx47-4w8r/GHSA-35jj-wx47-4w8r.json
CWE IDs: ["CWE-829"]
Alternative ID: GHSA-35jj-wx47-4w8r
Finding: F164
Auto approve: 1