{"id":"CVE-2024-28184","state":"PUBLISHED","title":"WeasyPrint allows the attachment of arbitrary files and URLs to a PDF","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.","publishedAt":"2024-03-09T00:50:32.115Z","updatedAt":"2025-02-13T17:47:28.192Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["Kozea WeasyPrint"],"affected":[{"vendor":"Kozea","product":"WeasyPrint","versions":[{"version":">= 61.0, <= 61.1","status":"affected"}]}],"references":["https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r","https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/"],"weaknesses":["CWE-829"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/28xxx/CVE-2024-28184.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-28184","state":"PUBLISHED","datePublished":"2024-03-09T00:50:32.115Z","dateUpdated":"2025-02-13T17:47:28.192Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-03-06T17:35:00.857Z"},"containers":{"cna":{"title":"WeasyPrint allows the attachment of arbitrary files and URLs to a PDF","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Kozea","product":"WeasyPrint","versions":[{"version":">= 61.0, <= 61.1","status":"affected"}]}],"references":[{"url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r","name":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598","name":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-829","lang":"en","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-23T02:06:56.004Z"},"source":{"advisory":"GHSA-35jj-wx47-4w8r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-19T14:00:17.785523Z","id":"CVE-2024-28184","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-23T17:52:58.400Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r","name":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598","name":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:48:49.410Z"}}]}}}