{"id":"CVE-2024-28184","aliases":["GHSA-35jj-wx47-4w8r","PYSEC-2026-2033"],"url":"https://o3.security/vulnerability/CVE-2024-28184","summary":"WeasyPrint allows the attachment of arbitrary files and URLs to a PDF","details":"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.","published":"2024-03-09T00:50:32.115Z","modified":"2026-07-15T01:49:05.648203024Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"weasyprint","fixedVersion":"61.2"}],"fix":{"url":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598","label":"Kozea/WeasyPrint@734ee8e"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28184.json"},{"type":"ADVISORY","url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28184"},{"type":"FIX","url":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:05.648203024Z"}}