CVE-2026-49452: Kozea WeasyPrint · Injection
Affects Kozea WeasyPrintSource CVE Database V5
Public exploit available · CVSS 6.5 Medium : upgrade to 69.0 as a priority.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- CISA SSVC
- Exploitation
- Proof of concept is public or traded
- Automatable
- Attackers can reliably automate steps 1–4 of the kill chain
- Technical impact
- Limited control over the software or limited information exposure
CISA SSVC assessment, 2026-08-19.
- 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
Weaponised: 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 26 Oct 2026.
What to do
Upgrade Kozea WeasyPrint to 69.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| KozeaWeasyPrint | Affected
| Fixed in
|
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.
References
- github.com/Kozea/WeasyPrint/security/advisories/GHSA-jhhc-3hcp-qhm5 (opens in a new tab)
- github.com/Kozea/WeasyPrint/pull/2773 (opens in a new tab)
- github.com/Kozea/WeasyPrint/commit/e158264e33fa399b29f415d30719c1d85a55df1d (opens in a new tab)
- github.com/Kozea/WeasyPrint/releases/tag/v69.0 (opens in a new tab)