CVE-2025-55161: SSRF in Stirling-PDF Markdown-to-PDF conversion endpoint
- Vendor
- Stirlingpdf
CVE-2025-55161 affects Stirling-PDF prior to version 1.1.0. When the /api/v1/convert/markdown/pdf endpoint is used to convert Markdown to PDF, the backend invokes a third-party processing tool and applies a sanitizer intended to prevent unsafe content. That sanitizer can be bypassed, allowing attacker-controlled Markdown input to trigger server-side requests to unintended destinations, resulting in server-side request forgery (SSRF).
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to cause the Stirling-PDF server to initiate outbound requests to attacker-chosen or otherwise unintended resources. Depending on the deployment environment, this can enable access to internal network services, cloud metadata endpoints, or other systems reachable from the server, and may expose sensitive information or facilitate further internal reconnaissance and pivoting.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict or disable access to the /api/v1/convert/markdown/pdf endpoint, especially for untrusted users. Apply egress filtering from the Stirling-PDF host/container to block access to internal address space, link-local and metadata services, and other sensitive network destinations. Where feasible, isolate the service in a network segment with minimal outbound reachability and monitor for anomalous outbound requests originating from the Markdown conversion component.
Remediation
Patch, then assume compromise.
Upgrade Stirling-PDF to version 1.1.0 or later, which patches the sanitizer bypass in the Markdown-to-PDF conversion flow.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-55161 exploited in the wild?
- Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-55161?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2025-55161.
- Is there a patch for CVE-2025-55161?
- Upgrade Stirling-PDF to version 1.1.0 or later, which patches the sanitizer bypass in the Markdown-to-PDF conversion flow.
- What products are affected by CVE-2025-55161?
- Stirlingpdf Stirling Pdf.
- How severe is CVE-2025-55161?
- CVE-2025-55161 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 2.3% (84th percentile) as of Sep 25, 2026.
Recent activity
9 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.