Advisory record · GHSA-jhhc-3hcp-qhm5

WeasyPrint has CSS Injection via Presentational Hints

CVSS 6.5 MediumEPSS 0.0037 · 31st percentile

Published by the GitHub Advisory Database at 6 Jul 2026, 17:29 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
weasyprintPyPI<=68.1No fixed version yet
Identifiers
GHSA-jhhc-3hcp-qhm5 · CVE-2026-49452 · PYSEC-2026-3412
Weakness (CWE)
CWE-74
Published
6 Jul 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

WeasyPrint versions up to and including 68.1 are affected when presentational hints are enabled. An attacker who can supply HTML for rendering can inject arbitrary CSS declarations, including url() references that trigger server-side requests. No fixed version is listed; disabling presentational hints or not rendering untrusted HTML avoids the issue.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0037, the 31st percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:03 UTC First seen by agentprime
  2. 31 Oct 2026, 15:03 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.