CVE-2026-69078: Weasyprint Missing Url Fetcher

WeasyPrint HTML renderer instantiated without specifying a restrictive url_fetcher. By default, WeasyPrint resolves local files and network URLs (file://, http://, etc.), allowing SSRF and Local File Inclusion when rendering untrusted HTML or Markdown. Pass a restrictive url_fetcher parameter.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-69078-weasyprint-missing-url-fetcher --engine opengrep

Description

WeasyPrint HTML renderer instantiated without specifying a restrictive url_fetcher. By default, WeasyPrint resolves local files and network URLs (file://, http://, etc.), allowing SSRF and Local File Inclusion when rendering untrusted HTML or Markdown. Pass a restrictive url_fetcher parameter.