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.
Do this next
Free account, 1 product
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
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
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24wp-p865-7j4rmitigation, vendor-advisory
- https://nextcloud.comproduct
- https://www.redteam-pentesting.de/en/advisories/rt-sa-2025-003/exploit, third-party-advisory
The CVE record on cve.org NVD's entry
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.