Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

38
Routine
MEDIUM 6.5REMOTE

CVE-2026-49452 is a medium-severity flaw (CVSS 6.5) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 pr

Why this priority

  • CISA SSVC: public proof of concept
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 70%)
CISA exploited listNo
WeaknessCWE-74
Published2026-08-18
Last modified2026-10-22
Publisher (CNA): GitHub, Inc.

Share: LinkedIn · X · Reddit

Last updated 2026-10-22 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Timeline

Exact fixes by distribution

Python (pip) · weasyprint · NO FIX YET · vulnerable: <= 68.1 · source
Fedora 46 · sugar-toolkit-gtk3 · FIXED · 0.122-2.fc46 · FEDORA-2026-d11eb2faf0 · source
sudo dnf upgrade --advisory=FEDORA-2026-d11eb2faf0
Fedora ELN · ntpd-rs · FIXED · 1.7.2-3.eln159 · FEDORA-2026-57e4a99310 · source
sudo dnf upgrade --advisory=FEDORA-2026-57e4a99310
Debian 12 · weasyprint · NO FIX YET
Debian 13 · weasyprint · NO FIX YET
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-49452?

No fixed release is listed yet. Watch the vendor advisory and apply any mitigation shown on this page.

Is CVE-2026-49452 being exploited?

CVE-2026-49452 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-49452 affect?

CVE-2026-49452 affects affected software. Severity is medium (CVSS 6.5). 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

How urgent is CVE-2026-49452?

Priority 38/100. CISA SSVC: public proof of concept; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.