weasyprint — security advisory
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
- weasyprint
- Affected versions
- 50-2, 51-1, 51-2, 51-3, 53.4-1, 54.0-1, 54.1-1, 59.0-1, 60.2-1, 61.0-1, 61.1-1, 62.3-1, 62.3-1build1, 67.0-1, 69.0-1, 69.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2024-28184
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:12 UTC · Revision 1
Source evidence
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:UBUNTU-CVE-2024-28184
weasyprint
Fixed versions: Not specified
weasyprint
Fixed versions: Not specified
weasyprint
Fixed versions: Not specified
weasyprint
Fixed versions: Not specified
weasyprint
Fixed versions: Not specified
weasyprint
Fixed versions: Not specified
Complete source record
{
"id": "fb49bca1f083ef5197772404cdaf66c142b0e5943522e6883e8f408fe3970769",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-28184",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-28184",
"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:UBUNTU-CVE-2024-28184",
"products": [
{
"name": {
"value": "weasyprint",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "50-2",
"evidence": "/affected/0/versions"
},
{
"value": "51-1",
"evidence": "/affected/0/versions"
},
{
"value": "51-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "weasyprint",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "51-2",
"evidence": "/affected/1/versions"
},
{
"value": "51-3",
"evidence": "/affected/1/versions"
},
{
"value": "53.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "54.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "54.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "weasyprint",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "59.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "60.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "61.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "61.1-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "weasyprint",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "62.3-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "weasyprint",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "67.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "69.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "69.0-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "weasyprint",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "62.3-1",
"evidence": "/affected/5/versions"
},
{
"value": "62.3-1build1",
"evidence": "/affected/5/versions"
},
{
"value": "67.0-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2024-28184",
"aliases": [
"UBUNTU-CVE-2024-28184"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "weasyprint",
"purl": "pkg:deb/ubuntu/weasyprint?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"50-2",
"51-1",
"51-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "weasyprint",
"binary_version": "51-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "weasyprint",
"purl": "pkg:deb/ubuntu/weasyprint?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"51-2",
"51-3",
"53.4-1",
"54.0-1",
"54.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "weasyprint",
"binary_version": "54.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "weasyprint",
"purl": "pkg:deb/ubuntu/weasyprint?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"59.0-1",
"60.2-1",
"61.0-1",
"61.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "weasyprint",
"binary_version": "61.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "weasyprint",
"purl": "pkg:deb/ubuntu/weasyprint?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"62.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "weasyprint",
"binary_version": "62.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "weasyprint",
"purl": "pkg:deb/ubuntu/weasyprint?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"67.0-1",
"69.0-1",
"69.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "weasyprint",
"binary_version": "69.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "weasyprint",
"purl": "pkg:deb/ubuntu/weasyprint?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"62.3-1",
"62.3-1build1",
"67.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-28184.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "weasyprint",
"binary_version": "67.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:43.898235521Z",
"provider": "osv",
"upstream": [
"CVE-2024-28184"
],
"references": [
"https://ubuntu.com/security/CVE-2024-28184",
"https://www.cve.org/CVERecord?id=CVE-2024-28184",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZLQZMOEDY72TS43HDXOBVID2VYCTWIH6/",
"https://github.com/Kozea/WeasyPrint/commit/734ee8e2dc84ff3090682f3abff056d0907c8598",
"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-35jj-wx47-4w8r"
]
},
"related_cves": [
{
"value": "CVE-2024-28184",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356074,
"published_at": "2024-03-09T01:15:00+00:00"
}