Skip to content
Heist/ feed
Back to feed
High

Stirling-PDF Server-Side Request Forgery (SSRF)-Induced Arbitrary File Read Vulnerability

Type: advisorySources: OSV

Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Prior to version 0.45.0, Stirling-PDF is vulnerable to SSRF-induced arbitrary file read. WeasyPrint redefines a set of HTML tags, including img, embed, object, and others. The references to several files inside, allow the attachment of content from any webpage or local file to a PDF. This allows the attacker to read any file on the server, including sensitive files and configuration files. All users utilizing this feature will be affected. This issue has been patched in version 0.45.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-46568
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 15:11 UTC · Revision 1

Source evidence

Stirling-PDF Server-Side Request Forgery (SSRF)-Induced Arbitrary File Read Vulnerability

core-osv · Original source

Published 1 May 2025, 17:20 UTC

Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Prior to version 0.45.0, Stirling-PDF is vulnerable to SSRF-induced arbitrary file read. WeasyPrint redefines a set of HTML tags, including img, embed, object, and others. The references to several files inside, allow the attachment of content from any webpage or local file to a PDF. This allows the attacker to read any file on the server, including sensitive files and configuration files. All users utilizing this feature will be affected. This issue has been patched in version 0.45.0.

osv:CVE-2025-46568
Complete source record
{
  "id": "0a0865ba784e7f26cbdeac6786fb326b21e9f551900c7c94545a7018c0f84c22",
  "url": "https://osv.dev/vulnerability/CVE-2025-46568",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Stirling-PDF Server-Side Request Forgery (SSRF)-Induced Arbitrary File Read Vulnerability",
    "summary": "Stirling-PDF is a locally hosted web application that allows you to perform various operations on PDF files. Prior to version 0.45.0, Stirling-PDF is vulnerable to SSRF-induced arbitrary file read. WeasyPrint redefines a set of HTML tags, including img, embed, object, and others. The references to several files inside, allow the attachment of content from any webpage or local file to a PDF. This allows the attacker to read any file on the server, including sensitive files and configuration files. All users utilizing this feature will be affected. This issue has been patched in version 0.45.0.",
    "evidence": "osv:CVE-2025-46568",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-46568",
      "aliases": [
        "CVE-2025-46568",
        "GHSA-998c-x8hx-737r"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/stirling-tools/stirling-pdf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9951695eb18e2a1d7e9de3d3b60be691edd42e34"
                },
                {
                  "fixed": "e15128633718cb5f9262986b3770ca592af60cda"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:stirlingpdf:stirling_pdf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.45.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e15128633718cb5f9262986b3770ca592af60cda"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.44.3",
            "v0.44.2",
            "v0.44.1",
            "v0.44.0",
            "v0.43.2",
            "v0.43.1",
            "v0.43.0",
            "v0.42.0",
            "v0.41.0",
            "v0.40.2",
            "v0.40.1",
            "v0.40.0",
            "v0.39.0",
            "v0.38.0",
            "v0.37.1",
            "v0.37.0",
            "v0.36.6",
            "v0.36.5",
            "v0.36.4",
            "v0.36.3",
            "v0.36.2",
            "v0.36.1",
            "v0.36.0",
            "v0.35.1",
            "v0.35.0",
            "v0.34.0",
            "v0.33.1",
            "v0.33.0",
            "v0.32.0",
            "stirling-pdf-chart-1.0.1",
            "v0.31.1",
            "v0.31.0",
            "v0.30.1",
            "v0.30.0",
            "v0.29.0",
            "v0.28.3",
            "v0.28.2",
            "v0.28.1",
            "v0.28.0",
            "v0.27.0",
            "v0.26.1",
            "v0.26.0",
            "v0.25.3",
            "v0.25.2",
            "v0.25.1",
            "v0.25.0",
            "v0.24.6",
            "v0.24.5",
            "v0.24.3",
            "v0.24.4",
            "v0.24.1",
            "v0.24.2",
            "v0.24.0",
            "v0.22.8",
            "v0.23.1",
            "v0.23.0",
            "v0.22.7",
            "v0.22.6",
            "v0.22.5",
            "v0.22.4",
            "v0.22.3",
            "v0.22.2",
            "v0.22.1",
            "v0.22.0",
            "v0.21.0",
            "v0.20.2",
            "v0.20.1",
            "v0.20.0",
            "v0.19.1",
            "v0.19.0",
            "v0.18.1",
            "v0.18.0",
            "v0.17.2",
            "v0.17.1",
            "v0.17.0",
            "v0.16.1",
            "v0.16.0",
            "v0.15.1",
            "v0.15.0",
            "v0.14.5",
            "v0.14.4",
            "v0.14.3",
            "v0.14.2",
            "v0.14.1",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "0.13.0",
            "v0.12.2",
            "v0.12.1",
            "v0.12.0",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.1",
            "v0.9.0",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.0",
            "v0.6.0",
            "v0.5.0",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.0",
            "v0.3.4",
            "v0.3.3",
            "v0.3.2",
            "v0.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46568.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.365044722Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46568.json",
        "https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-998c-x8hx-737r",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-46568",
        "https://github.com/Stirling-Tools/Stirling-PDF/commit/e15128633718cb5f9262986b3770ca592af60cda"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46568.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-46568",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519730,
  "published_at": "2025-05-01T17:20:46.488+00:00"
}