CVE-2026-49452

weasyprint: WeasyPrint helps web developers to create PDF documents

CVE-2026-49452 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-49452, released June 24, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0037
31st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-weasyprint · opensuse-leap 16.0 65.1-bp160.3.1 OPENSUSE-SU-2026:21364-1 Jul 16, 2026
weasyprint · Debian 14 69.0-1 DEBIAN-CVE-2026-49452 Jun 24, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.