Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-59788

6.4 · MEDIUM
Published Dec 4, 2025 nextcloud CWE-749 EPSS 0.30% (22th pctl)

Overview

CVE-2025-59788 is a medium-severity vulnerability affecting nextcloud nextcloud_server. It was published on December 4, 2025 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from nextcloud. Update nextcloud_server to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
nextcloud nextcloud_server >= 30.0.0, < 30.0.17 Affected

Frequently Asked Questions

What is CVE-2025-59788?

CVE-2025-59788 is a medium-severity vulnerability affecting nextcloud nextcloud_server. It was published on December 4, 2025 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

How severe is CVE-2025-59788?

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-59788?

Check the references section for vendor advisories and patches from nextcloud. Update nextcloud_server to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-59788?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-59788 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.