SSRF in Stirling-PDF Markdown-to-PDF conversion endpoint
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).
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
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.