CVE-2025-59788
MEDIUMDescription
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.
Is your site exposed to CVE-2025-59788?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
| nextcloud | nextcloud_server |
References
Advisories & Patches
Other References
Frequently Asked Questions
What is CVE-2025-59788? +
How severe is CVE-2025-59788? +
What products are affected by CVE-2025-59788? +
How do I check if I'm vulnerable to CVE-2025-59788? +
Related Vulnerabilities
A client-side security misconfiguration vulnerability exists in OpenBlow whistleblowing platform across multiple versions and default deployments, due to the absence …
The Electron preload script in Logseq exposes an API method that allows the renderer process to invoke IPC handlers without …
Nuxt OG Image generates OG Images with Vue templates in Nuxt. From 6.0.2 until 6.7.0, nuxt-og-image exposes the unauthenticated /_og/d/** …
Exposed Dangerous Method or Function in ASUS Armoury Crate allow a local user to cause a brief system stall by …
In Eclipse iceoryx2 versions greater than v0.8.0, the StaticString exposes its contents as mutable bytes through safe APIs, while String::as_str() …
Temporal Server compiles a Worker Controller Instance module into its Worker Service, and that module registers a compute provider named …