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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kozea | WeasyPrint | >= 61.0, <= 61.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | weasyprint | 61.2-1 | — |
| Debian 13 | weasyprint | 61.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | weasyprint | No fix yet | — |
| Ubuntu 26.04 LTS | weasyprint | No fix yet | — |
| Ubuntu 25.10 | weasyprint | No fix yet | — |
| Ubuntu 24.04 LTS | weasyprint | No fix yet | — |
| Ubuntu 22.04 LTS | weasyprint | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | weasyprint | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | weasyprint | >= 61.0, < 61.2 | 61.2 | GHSA-35jj-wx47-4w8r |