Key Information:
- Vendor
Nextcloud
- Status
- CVE ID
- CVE ID:
- CVE-2025-59788
- Vendor
- CVE Published:
- 4 December 2025
- Fixed in
- Fixed in:
- 22.2.10.33, 23.0.12.29, 24.0.12.28 +8 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Install the Nextcloud release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Nextcloud. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.4).
What is CVE-2025-59788?
A Cross-site Scripting (XSS) vulnerability exists in the Nextcloud PDF viewer, which allows attackers to execute arbitrary JavaScript within a user's browser by leveraging a crafted PDF file sent to the viewer. This vulnerability affects various versions of the PDF viewer before 22.2.10.33 and multiple subsequent releases, potentially exposing users to various security threats.
References
More Nextcloud Vulnerabilities
Improper Authorization in Nextcloud Server Affects Calendar Functionality
Missing Signature Verification in Nextcloud OIDC Enables User Impersonation
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction