{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-59788",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-59788",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-04T00:00:00.000Z",
    "updatedAt": "2025-12-11T15:04:25.726Z",
    "importedAt": "2026-10-24T01:57:39.058Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": null,
      "summary": "Cross-site scripting (XSS) vulnerability in a reachable files_pdfviewer example directory in Nextcloud with versions before 22.2.10.33, 23.0.12.29, 24.0.12.28, 25.0.13.23, 26.0.13.20, 27.1.11.20, 28.0.14.11, 29.0.16.8, 30.0.17, 31.0.10, and 32.0.1 allows attackers to execute arbitrary JavaScript in the context of a user's browser via a crafted PDF file to viewer.html. This issue is related to CVE-2024-4367, but the root cause of this Nextcloud issue is that the product exposes executable example code on a same-origin basis.",
      "affected": [
        {
          "vendor": "Nextcloud",
          "product": "Nextcloud",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "22.2.10.33"
            },
            {
              "version": "23",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "23.0.12.29"
            },
            {
              "version": "24",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "24.0.12.28"
            },
            {
              "version": "25",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "25.0.13.23"
            },
            {
              "version": "26",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "26.0.13.20"
            },
            {
              "version": "27",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "27.1.11.20"
            },
            {
              "version": "28",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "28.0.14.11"
            },
            {
              "version": "29",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "29.0.16.8"
            },
            {
              "version": "30",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "30.0.17"
            },
            {
              "version": "31",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "31.0.10"
            },
            {
              "version": "32",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "32.0.1"
            }
          ]
        }
      ]
    }
  }
}