CVE-2025-46568

Severity CVSS v4.0:
HIGH
Type:
CWE-918 Server-Side Request Forgery (SSRF)
Publication date:
01/05/2025
Last modified:
06/02/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:stirlingpdf:stirling_pdf:*:*:*:*:*:*:*:* 0.45.0 (excluding)