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
Impacted products
Vendor Product Version CPE status
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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-59788",
      "date": "2026-09-21",
      "epss": "0.00302",
      "percentile": "0.23084"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "cve@mitre.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "matchCriteriaId": "8A3D94EC-A877-458D-9A33-5451FE97A785",
                    "versionEndExcluding": "30.0.17",
                    "versionStartIncluding": "30.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "matchCriteriaId": "2059C891-F256-482A-99BF-D912A1657419",
                    "versionEndExcluding": "31.0.10",
                    "versionStartIncluding": "31.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
                    "matchCriteriaId": "A75D466C-B154-480A-9D4F-8E9454147156",
                    "versionEndExcluding": "32.0.1",
                    "versionStartIncluding": "32.0.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "4440D2E7-2FCB-4CC2-A57F-708AAB0CD22B",
                    "versionEndExcluding": "22.2.10.33",
                    "versionStartIncluding": "22.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "51922DA7-3112-422A-9F66-9CAA54E89D8F",
                    "versionEndExcluding": "23.0.12.29",
                    "versionStartIncluding": "23.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "6AC7C575-7348-45A1-9023-A6606541987B",
                    "versionEndExcluding": "24.0.12.28",
                    "versionStartIncluding": "24.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "000C64D7-C76D-4E69-9705-18132C615456",
                    "versionEndExcluding": "25.0.13.23",
                    "versionStartIncluding": "25.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "D9491A91-2A7C-4C84-89E9-219422D91350",
                    "versionEndExcluding": "26.0.13.20",
                    "versionStartIncluding": "26.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "CFD3A15F-58D7-4C3D-A49F-065F28ED6361",
                    "versionEndExcluding": "27.1.11.20",
                    "versionStartIncluding": "27.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "B55EF258-E98A-43A9-B73C-AE62D448421D",
                    "versionEndExcluding": "28.0.14.11",
                    "versionStartIncluding": "28.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "7710228F-2984-4F9A-8360-0054E7E78687",
                    "versionEndExcluding": "29.0.16.8",
                    "versionStartIncluding": "29.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "AE19F75F-6A78-4770-B7C6-338570FA7184",
                    "versionEndExcluding": "30.0.17",
                    "versionStartIncluding": "30.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "64C21E45-22B8-49B2-B630-30448D89A4E9",
                    "versionEndExcluding": "31.0.10",
                    "versionStartIncluding": "31.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
                    "matchCriteriaId": "CFA5AD5D-1145-44D6-ABE3-64837C74975F",
                    "versionEndExcluding": "32.0.1",
                    "versionStartIncluding": "32.0.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2025-59788",
        "lastModified": "2026-06-17T09:46:43.187",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.1,
              "impactScore": 2.7,
              "source": "cve@mitre.org",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.3,
              "impactScore": 2.7,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2025-59788",
                "options": [
                  {
                    "exploitation": "poc"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-12-05T17:20:13.836811Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2025-12-04T19:16:04.380",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mitigation",
              "Vendor Advisory"
            ],
            "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24wp-p865-7j4r"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Product"
            ],
            "url": "https://nextcloud.com"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://www.redteam-pentesting.de/en/advisories/rt-sa-2025-003/"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-749"
              }
            ],
            "source": "cve@mitre.org",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-79"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-06-28T11:47:38+00:00",
      "cve": "CVE-2025-59788",
      "id": "CVE-2025-59788",
      "initial_release_date": "2025-12-04T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "Nextcloud: Nextcloud: Cross-site scripting (XSS) in PDF viewer allows arbitrary JavaScript execution",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-59788.json",
      "version": "3"
    },
    "vulnrichment": {
      "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-05T17:20:02.577Z",
              "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"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…