High
WeasyPrint allows the attachment of arbitrary files and URLs to a PDF
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-28184
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:01 UTC · Revision 1
Source evidence
WeasyPrint allows the attachment of arbitrary files and URLs to a PDF
core-osv · Original sourcePublished 9 Mar 2024, 00:50 UTC
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.
osv:CVE-2024-28184
Complete source record
{
"id": "f13c6292f37bbf002d21c5e93b6e667075f52f1b9b74f796f0bf67957aff02d4",
"url": "https://osv.dev/vulnerability/CVE-2024-28184",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "WeasyPrint allows the attachment of arbitrary files and URLs to a PDF",
"summary": "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.",
"evidence": "osv:CVE-2024-28184",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-28184",
"aliases": [
"CVE-2024-28184",
"GHSA-35jj-wx47-4w8r",
"PYSEC-2026-2033"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kozea/weasyprint",
"type": "GIT",
"events": [
{
"introduced": "78861efc575b9ca3b95f46afaee7c1a8b7587ffb"
},
{
"fixed": "cfd2e308aa67ea15ef93ca0c843888b6f6ee205f"
},
{
"fixed": "734ee8e2dc84ff3090682f3abff056d0907c8598"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:kozea:weasyprint:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "61.0"
},
{
"fixed": "61.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "734ee8e2dc84ff3090682f3abff056d0907c8598"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v61.1",
"v61.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28184.json"
}
}
],
"modified": "2026-10-28T02:30:28.863414071Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28184.json",
"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r",
"https://nvd.nist.gov/vuln/detail/CVE-2024-28184",
"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598"
],
"provider_metadata": {
"cwe_ids": [
"CWE-829"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28184.json"
}
},
"related_cves": [
{
"value": "CVE-2024-28184",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495632,
"published_at": "2024-03-09T00:50:32.115+00:00"
}