Skip to main content
CVE-2025-59788VulnerabilityPublished

Nextcloud with · Cross-site Scripting (XSS) Vulnerability

Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-59788· High

Not known to be exploited · CVSS 6.4 High.

Data as of 25 Nov 2026, 03:41 UTC

CVSS 3.1 base score
6.4High
How severe the flaw is on the 0–10 CVSS scale.
Affects
Nextcloud prior to 22.2.10.33
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

AI-suggested

Until a fix is confirmed, users should avoid accessing untrusted PDF files via the vulnerable viewer.html example directory and consider restricting access to example directories if possible.

Description

A cross-site scripting (XSS) vulnerability exists in a reachable files_pdfviewer example directory in Nextcloud versions prior to 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. This vulnerability allows attackers to execute arbitrary JavaScript in the context of a user's browser by using a crafted PDF file targeting viewer.html. The root cause is the exposure of executable example code on a same-origin basis. The CVSS score is 6.4, indicating a medium severity level.

References

Community reviews

Loading reviews…