{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "31b3219169eb48af0b1b9e70501397128161b42c"
            }
          ],
          "repo": "https://github.com/stirling-tools/stirling-pdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rjjx-43g5-mp76"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41580.json"
  },
  "details": "Stirling-PDF is a locally hosted web application that facilitates various operations on PDF files. Prior to 2.0.0, Stirling-PDF's /get-info-on-pdf endpoint rendered PDF Title and Author metadata fields without proper HTML encoding or sanitization, allowing a crafted PDF to execute attacker-controlled JavaScript in the browser of a user who views the resulting page. This issue is fixed in version 2.0.0.",
  "id": "CVE-2026-41580",
  "modified": "2026-07-17T03:41:42.457927417Z",
  "published": "2026-07-15T14:56:36.902Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41580.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Stirling-Tools/Stirling-PDF/security/advisories/GHSA-rjjx-43g5-mp76"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41580"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Stirling-PDF: Reflected XSS through crafted PDF metadata fields (Title and Author)"
}