Advisory record · GHSA-35jj-wx47-4w8r

WeasyPrint allows the attachment of arbitrary files and URLs to a PDF

CVSS 7.4 HighEPSS 0.0074 · 54th percentile

Published by the GitHub Advisory Database at 8 Mar 2024, 20:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
weasyprintPyPI>=61.0, <61.261.2
Identifiers
GHSA-35jj-wx47-4w8r · CVE-2024-28184 · PYSEC-2026-2033
Weakness (CWE)
CWE-829
Published
8 Mar 2024
Updated
10 Sept 2026

Machine-written summary

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

WeasyPrint versions 61.0 up to but not including 61.2 are vulnerable, allowing attachment of arbitrary files and URLs to a generated PDF even when url_fetcher is configured to block file and URL access. The source does not describe the attacker's required position, so the exact conditions are unclear; the impact is that restricted content can be embedded in the output. Upgrade to WeasyPrint 61.2 or later. As a workaround, check that source HTML does not define PDF attachments, or run WeasyPrint in a sandbox that blocks filesystem and network access.

Written 5 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
7.4 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0074, the 54th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:35 UTC First seen by agentprime
  2. 31 Oct 2026, 14:35 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.