Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-55150

CVE-2025-55150: Stirling PDF SSRF Vulnerability

CVE-2025-55150 is an SSRF vulnerability in Stirling PDF that allows attackers to bypass sanitization during HTML to PDF conversion. This article covers the technical details, affected versions, impact, and mitigation.

Published: March 18, 2026

CVE-2025-55150 Overview

CVE-2025-55150 is a Server-Side Request Forgery (SSRF) vulnerability discovered in Stirling-PDF, a locally hosted web application designed for performing various operations on PDF files. The vulnerability exists in the /api/v1/convert/html/pdf endpoint, which is used to convert HTML content to PDF format. When processing HTML input, the backend relies on a third-party tool and implements a sanitizer for security purposes. However, this sanitizer can be bypassed, allowing attackers to exploit SSRF and make unauthorized requests from the server to internal or external resources.

Critical Impact

Attackers can bypass the HTML sanitizer to perform SSRF attacks, potentially accessing internal services, cloud metadata endpoints, or sensitive internal network resources from the Stirling-PDF server.

Affected Products

  • Stirling-PDF versions prior to 1.1.0
  • Self-hosted Stirling-PDF deployments using the HTML to PDF conversion feature
  • Docker and standalone installations with the vulnerable endpoint exposed

Discovery Timeline

  • 2025-08-11 - CVE-2025-55150 published to NVD
  • 2025-08-15 - Last updated in NVD database

Technical Details for CVE-2025-55150

Vulnerability Analysis

This SSRF vulnerability (CWE-918: Server-Side Request Forgery) affects the HTML to PDF conversion functionality in Stirling-PDF. The application's HTML sanitizer, designed to prevent malicious input from being processed, contains bypass vulnerabilities that allow attackers to inject URLs that trigger server-side requests. When a user submits specially crafted HTML content to the conversion endpoint, the application processes embedded resources (such as images, stylesheets, or other linked content) by fetching them from the server side. By bypassing the sanitizer, attackers can direct these requests to arbitrary destinations, including internal network resources, localhost services, and cloud metadata endpoints.

The vulnerability is particularly impactful because Stirling-PDF is typically deployed as an internal tool, meaning successful exploitation could provide attackers with access to sensitive internal infrastructure that would otherwise be unreachable from external networks.

Root Cause

The root cause of this vulnerability lies in the insufficient URL validation and sanitization logic within the CustomHtmlSanitizer class. Prior to the patch, the sanitizer did not adequately validate URLs embedded in HTML attributes, allowing attackers to craft payloads that bypass the security controls. The original implementation lacked proper SSRF protection mechanisms to validate that requested URLs point to safe, external resources rather than internal network addresses or sensitive endpoints.

Attack Vector

The attack is conducted over the network without requiring authentication or user interaction. An attacker sends a malicious HTTP request to the /api/v1/convert/html/pdf endpoint containing HTML with specially crafted URLs designed to bypass the sanitizer. These URLs can target:

  • Internal services running on localhost (127.0.0.1)
  • Cloud provider metadata endpoints (e.g., 169.254.169.254)
  • Internal network resources accessible from the Stirling-PDF server
  • Other services within the same Docker network or Kubernetes cluster

The patch introduces proper SSRF protection through a dedicated SsrfProtectionService that validates URLs before allowing the server to fetch resources.

java
// Security patch introducing SSRF protection service
// Source: https://github.com/Stirling-Tools/Stirling-PDF/commit/7d6b70871bad2a3ff810825f7382c49f55293943

@Component
public class CustomHtmlSanitizer {

    private final SsrfProtectionService ssrfProtectionService;
    private final ApplicationProperties applicationProperties;

    @Autowired
    public CustomHtmlSanitizer(
            SsrfProtectionService ssrfProtectionService,
            ApplicationProperties applicationProperties) {
        this.ssrfProtectionService = ssrfProtectionService;
        this.applicationProperties = applicationProperties;
    }

    private final AttributePolicy SSRF_SAFE_URL_POLICY =
            new AttributePolicy() {
                @Override
                // URL validation logic using ssrfProtectionService
            };
}

Source: GitHub Commit

Detection Methods for CVE-2025-55150

Indicators of Compromise

  • Unusual outbound requests from the Stirling-PDF server to internal IP ranges (10.x.x.x, 172.16.x.x, 192.168.x.x)
  • Requests to cloud metadata endpoints (169.254.169.254) originating from the application server
  • High volume of requests to the /api/v1/convert/html/pdf endpoint with suspicious HTML payloads
  • Server logs showing connections to localhost services or unexpected internal hostnames

Detection Strategies

  • Monitor network traffic from Stirling-PDF servers for connections to RFC 1918 private IP addresses or link-local addresses
  • Implement web application firewall (WAF) rules to detect SSRF payloads in HTML content submitted to conversion endpoints
  • Review application logs for conversion requests containing suspicious URL patterns such as file://, gopher://, or internal hostnames
  • Deploy network segmentation monitoring to detect lateral movement attempts originating from the PDF application server

Monitoring Recommendations

  • Enable verbose logging on the Stirling-PDF application to capture all HTML to PDF conversion requests
  • Configure egress filtering alerts on firewalls to detect unexpected outbound connections from application servers
  • Implement DNS logging to identify resolution attempts for internal hostnames from the Stirling-PDF server
  • Use SentinelOne Singularity to monitor for suspicious network behavior and process activity on systems running Stirling-PDF

How to Mitigate CVE-2025-55150

Immediate Actions Required

  • Upgrade Stirling-PDF to version 1.1.0 or later immediately to address this vulnerability
  • If immediate upgrade is not possible, disable the HTML to PDF conversion endpoint by blocking access to /api/v1/convert/html/pdf
  • Implement network segmentation to restrict the Stirling-PDF server's ability to access sensitive internal resources
  • Review access logs for any suspicious activity that may indicate prior exploitation attempts

Patch Information

The vulnerability has been addressed in Stirling-PDF version 1.1.0. The fix introduces a comprehensive SsrfProtectionService that validates all URLs before allowing the server to fetch external resources. The patch also adds an SSRF_SAFE_URL_POLICY attribute policy to the HTML sanitizer that leverages this protection service. Users should update by pulling the latest version from the official Stirling-PDF repository or Docker image.

For reference, see the GitHub Security Advisory and patch commit.

Workarounds

  • Disable the HTML to PDF conversion feature entirely if not required for business operations
  • Implement strict network egress controls to prevent the Stirling-PDF server from initiating connections to internal networks
  • Deploy a reverse proxy with URL filtering to inspect and block requests containing SSRF payloads before they reach the application
  • Use application-level access controls to restrict which users can access the conversion endpoint
bash
# Example: Block the vulnerable endpoint using nginx until patch is applied
location /api/v1/convert/html/pdf {
    deny all;
    return 403;
}

# Example: Restrict egress from Stirling-PDF container using iptables
iptables -A OUTPUT -m owner --uid-owner stirling-pdf -d 10.0.0.0/8 -j DROP
iptables -A OUTPUT -m owner --uid-owner stirling-pdf -d 172.16.0.0/12 -j DROP
iptables -A OUTPUT -m owner --uid-owner stirling-pdf -d 192.168.0.0/16 -j DROP
iptables -A OUTPUT -m owner --uid-owner stirling-pdf -d 169.254.169.254 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechStirlingpdf

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2025-55161: Stirling PDF SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English