CVE-2024-28184

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

State
Published
Severity
7.4 High
Published
Mar 9, 2024
Updated
Feb 13, 2025
Reserved
Mar 6, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:LGitHub_M

Weaknesses

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Affected Products

ProductVersions
WeasyPrintKozea
  • >= 61.0, <= 61.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.