Skip to main content
VulnerabilityPublished Updated

CVE-2026-49452: WeasyPrint helps web developers to create PDF documents

Affects weasyprintSource GCVE Database

0
Compare
Authoritative record:CVE-2026-49452· Medium 6.5

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

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 18 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CISA SSVC: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by GitHub, Inc.

    , 80 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. 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

ProductAffectedFixed in
Ubuntu 26.10weasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=stonkingOther threatsAffected
  • =67.0-1
  • =69.0-1
  • =69.0-2
Fixed in–
Ubuntu 26.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=resoluteOther threatsAffected
  • =62.3-1
  • =62.3-1build1
  • =67.0-1
Fixed in–
Ubuntu 25.10weasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=questingOther threatsAffected
  • =62.3-1
Fixed in–
Ubuntu 24.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=nobleOther threatsAffected
  • 59.0-1 – 61.1-1
4 affected builds
Fixed in–
Ubuntu 22.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=jammyOther threatsAffected
  • 51-2 – 54.1-1
5 affected builds
Fixed in–
Ubuntu 20.04 LTSweasyprintpkg:deb/ubuntu/weasyprint?arch=source&distro=focalOther threatsAffected
  • =50-2
  • =51-1
  • =51-2
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.

References

Community reviews

Loading reviews…