{"id":"UBUNTU-CVE-2024-28184","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.","modified":"2026-05-20T16:17:08.795170258Z","published":"2024-03-09T01:15:00Z","upstream":["CVE-2024-28184"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-28184"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-28184"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/"},{"type":"REPORT","url":"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598"},{"type":"REPORT","url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r"}],"affected":[{"package":{"name":"weasyprint","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/weasyprint?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["50-2","51-1","51-2"],"ecosystem_specific":{"binaries":[{"binary_name":"weasyprint","binary_version":"51-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"}},{"package":{"name":"weasyprint","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/weasyprint?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["51-2","51-3","53.4-1","54.0-1","54.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"weasyprint","binary_version":"54.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"}},{"package":{"name":"weasyprint","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/weasyprint?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["59.0-1","60.2-1","61.0-1","61.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"weasyprint","binary_version":"61.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"}},{"package":{"name":"weasyprint","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/weasyprint?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["62.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"weasyprint","binary_version":"62.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"}},{"package":{"name":"weasyprint","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/weasyprint?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["62.3-1","62.3-1build1","67.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"67.0-1","binary_name":"weasyprint"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}