{"id":"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.","aliases":["GHSA-35jj-wx47-4w8r","PYSEC-2026-2033"],"modified":"2026-08-12T03:51:34.292790659Z","published":"2024-03-09T00:50:32.115Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28184.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-829"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kozea/weasyprint","events":[{"introduced":"78861efc575b9ca3b95f46afaee7c1a8b7587ffb"},{"fixed":"cfd2e308aa67ea15ef93ca0c843888b6f6ee205f"},{"fixed":"734ee8e2dc84ff3090682f3abff056d0907c8598"}],"database_specific":{"extracted_events":[{"introduced":"61.0"},{"fixed":"61.2"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:*"}}],"versions":["v61.1","v61.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28184.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"}]}