CVE-2026-49452: WeasyPrint helps web developers to create PDF documents
Affects weasyprintSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 69.0 : update weasyprint when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 69.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 18 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub, Inc.
, 80 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 21 hours after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10weasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10weasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
WeasyPrint helps web developers to create PDF documents. Prior to 69.0, WeasyPrint embeds unescaped HTML presentational-hint attribute values into CSS in weasyprint/css/__init__.py when presentational_hints=True. The background attribute is inserted into a background-image:url() declaration and parsed by tinycss2.parse_blocks_contents(), allowing untrusted HTML to inject additional CSS declarations. Applications that render untrusted HTML with presentational hints enabled can be affected by CSS injection and server-side requests through injected url() values. This issue is fixed in version 69.0.