Back to CVE records
Medium 5.4Published Dec 4, 2025

CVE-2025-59788Cross-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.…

Updated under an hour ago ()

Does this affect you?

It affects nextcloud_server. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.4 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-749, CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Analyzed
Record last updated
Oct 18, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
nextcloud nextcloud_server
nextcloud:nextcloud_server
from 30.0.0 before 30.0.17; from 31.0.0 before 31.0.10; from 32.0.0 before 32.0.1; from 22.0.0 before 22.2.10.33; from 23.0.0 before 23.0.12.29; from 24.0.0 before 24.0.12.28; from 25.0.0 before 25.0.13.23; from 26.0.0 before 26.0.13.20; and 6 more ranges
NVD

References

  • mitigation, vendor-advisory
  • product
  • exploit, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.