Skip to main content

CVE-2026-55073: CWE-918: Server-Side Request Forgery (SSRF) in Kozea WeasyPrint

0
Medium
VulnerabilityCVE-2026-55073cvecve-2026-55073cwe-918
Published: 09/14/2026 (09/14/2026, 16:55:12 UTC)
Source: CVE Database V5
Vendor/Project: Kozea
Product: WeasyPrint

Description

CVE-2026-55073 is a Server-Side Request Forgery (SSRF) vulnerability in Kozea WeasyPrint versions prior to 70.0. The issue arises when restrictive url_fetcher configurations can be bypassed via the xmp_metadata or stylesheets options, allowing local file access and resource loading without proper restrictions. This can lead to local file disclosure embedded in generated PDFs. The vulnerability is fixed in version 70.0.

CVSS v3.1

Score 6.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

Kozea

WeasyPrint

Affected versions
<70.0
weasyprint
pkg:pypi/weasyprint
Affected versions
<70.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 17:16:47 UTC

Technical Analysis

WeasyPrint versions before 70.0 contain an SSRF vulnerability (CWE-918) where server-side applications that use a restrictive url_fetcher can have these restrictions bypassed. Specifically, the xmp_metadata option calls select_source() without using the document's url_fetcher, enabling an attacker to read and embed accessible local files in the output PDF. Additionally, the stylesheets option constructs CSS() without the document url_fetcher, allowing loading of local or internal resources and propagating a permissive fetcher through nested CSS imports and url() references. This vulnerability is addressed and fixed in WeasyPrint version 70.0.

Potential Impact

An attacker able to influence inputs to HTML.write_pdf() can bypass url_fetcher restrictions and cause the server to read local files and embed their contents in generated PDFs. This leads to local file disclosure (confidential information exposure). The CVSS score of 6.2 reflects a medium severity with high confidentiality impact but no integrity or availability impact. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade WeasyPrint to version 70.0 or later, where this SSRF vulnerability is fixed. No other mitigation is indicated or required according to the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T14:33:35.710Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa8289355bf5e2cf557f787

Added to database: 09/14/2026, 17:02:11 UTC

Last enriched: 09/14/2026, 17:16:47 UTC

Last updated: 09/14/2026, 17:32:18 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses