Search

Find a vulnerability

Search criteria

    1 vulnerability found for Nextcloud by Nextcloud

    CVE-2025-59788 (GCVE-0-2025-59788)

    Vulnerability from cvelistv5 – Published: 2025-12-04 00:00 – Updated: 2025-12-11 15:04
    VLAI
    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.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2025-12-05 17:20 UTC
    CWE
    • CWE-749 - Exposed Dangerous Method or Function
    Assigner
    mitre CNA
    Impacted products
    Vendor Product Version
    Nextcloud Nextcloud Affected: 0 , < 22.2.10.33 (custom)
    Affected: 23 , < 23.0.12.29 (custom)
    Affected: 24 , < 24.0.12.28 (custom)
    Affected: 25 , < 25.0.13.23 (custom)
    Affected: 26 , < 26.0.13.20 (custom)
    Affected: 27 , < 27.1.11.20 (custom)
    Affected: 28 , < 28.0.14.11 (custom)
    Affected: 29 , < 29.0.16.8 (custom)
    Affected: 30 , < 30.0.17 (custom)
    Affected: 31 , < 31.0.10 (custom)
    Affected: 32 , < 32.0.1 (custom)
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
        cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-59788",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-12-05T17:20:13.836811Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-12-11T15:04:25.726Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Nextcloud",
              "vendor": "Nextcloud",
              "versions": [
                {
                  "lessThan": "22.2.10.33",
                  "status": "affected",
                  "version": "0",
                  "versionType": "custom"
                },
                {
                  "lessThan": "23.0.12.29",
                  "status": "affected",
                  "version": "23",
                  "versionType": "custom"
                },
                {
                  "lessThan": "24.0.12.28",
                  "status": "affected",
                  "version": "24",
                  "versionType": "custom"
                },
                {
                  "lessThan": "25.0.13.23",
                  "status": "affected",
                  "version": "25",
                  "versionType": "custom"
                },
                {
                  "lessThan": "26.0.13.20",
                  "status": "affected",
                  "version": "26",
                  "versionType": "custom"
                },
                {
                  "lessThan": "27.1.11.20",
                  "status": "affected",
                  "version": "27",
                  "versionType": "custom"
                },
                {
                  "lessThan": "28.0.14.11",
                  "status": "affected",
                  "version": "28",
                  "versionType": "custom"
                },
                {
                  "lessThan": "29.0.16.8",
                  "status": "affected",
                  "version": "29",
                  "versionType": "custom"
                },
                {
                  "lessThan": "30.0.17",
                  "status": "affected",
                  "version": "30",
                  "versionType": "custom"
                },
                {
                  "lessThan": "31.0.10",
                  "status": "affected",
                  "version": "31",
                  "versionType": "custom"
                },
                {
                  "lessThan": "32.0.1",
                  "status": "affected",
                  "version": "32",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "22.2.10.33",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "23.0.12.29",
                      "versionStartIncluding": "23",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "24.0.12.28",
                      "versionStartIncluding": "24",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "25.0.13.23",
                      "versionStartIncluding": "25",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "26.0.13.20",
                      "versionStartIncluding": "26",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.1.11.20",
                      "versionStartIncluding": "27",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.0.14.11",
                      "versionStartIncluding": "28",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.0.16.8",
                      "versionStartIncluding": "29",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "30.0.17",
                      "versionStartIncluding": "30",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "31.0.10",
                      "versionStartIncluding": "31",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "32.0.1",
                      "versionStartIncluding": "32",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027s 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."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 6.4,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-749",
                  "description": "CWE-749 Exposed Dangerous Method or Function",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-12-04T19:02:03.447Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://nextcloud.com"
            },
            {
              "url": "https://www.redteam-pentesting.de/en/advisories/rt-sa-2025-003/"
            },
            {
              "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24wp-p865-7j4r"
            }
          ],
          "x_generator": {
            "engine": "enrichogram 0.0.1"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2025-59788",
        "datePublished": "2025-12-04T00:00:00.000Z",
        "dateReserved": "2025-09-19T00:00:00.000Z",
        "dateUpdated": "2025-12-11T15:04:25.726Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }