CVE-2026-55073: CWE-918: Server-Side Request Forgery (SSRF) in Kozea WeasyPrint
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.
AI Analysis
Technical Summary
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.
CVE-2026-55073: CWE-918: Server-Side Request Forgery (SSRF) in Kozea 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
Affected software
Kozea
WeasyPrint
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.