Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. weasyprint
  4. ›
  5. CVE-2024-28184

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

March 8, 2024 (updated February 13, 2025)

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.

References

  • github.com/Kozea/WeasyPrint
  • github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598
  • github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r
  • github.com/advisories/GHSA-35jj-wx47-4w8r
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6
  • nvd.nist.gov/vuln/detail/CVE-2024-28184

Code Behaviors & Features

Detect and mitigate CVE-2024-28184 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 61.0 before 61.2

Fixed versions

  • 61.2

Solution

Upgrade to version 61.2 or above.

Impact 7.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

pypi/weasyprint/CVE-2024-28184.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.