CVE-2025-46568 Stirling-PDF Server-Side Request Forgery (SSRF)-Induced Arbitrary File Read Vulnerability

High 7.7 Published Updated

Attackers can exploit SSRF in Stirling-PDF to read arbitrary local files, including sensitive configuration data, by manipulating HTML tags during PDF generation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-46568?

CVE-2025-46568 is a high-severity server-side request forgery vulnerability in Stirling-Tools Stirling-PDF, published on 1 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Prior to version 0.45.0, Stirling-PDF is vulnerable to SSRF-induced arbitrary file read. WeasyPrint redefines a set of HTML tags, including img, embed, object, and others. The references to several files inside, allow the attachment of content from any webpage or local file to a PDF. This allows the attacker to read any file on the server, including sensitive files and configuration files. All users utilizing this feature will be affected. This issue has been patched in version 0.45.0.

Weakness: CWE-918

Which versions are affected by CVE-2025-46568?

It affects 1 product.

Products include Stirlingpdf Stirling Pdf.

How do I fix CVE-2025-46568?

No fix has been published for CVE-2025-46568 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2025-46568 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46568 exists.

Sources

Also known as GHSA-998c-x8hx-737r.

Is CVE-2025-46568 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free