CVE-2025-59788: n/a
Source CVE Database V5
Mentioned vulnerabilities
Not known to be exploited.
Data as of 26 Oct 2026, 06:26 UTC
Rated High by the CNA (mitre) · No CVSS score from NVD or the CNA
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
To mitigate CVE-2025-59788, European organizations should prioritize the following actions: 1) Apply security updates and patches for Nextcloud immediately once they are released for the affected versions listed. 2) Restrict or disable access to example directories such as files_pdfviewer on production systems to reduce exposure. 3) Implement Content Security Policy (CSP) headers to limit the execution of unauthorized scripts within the browser context. 4) Educate users about the risks of opening PDF files from untrusted sources, emphasizing caution with files received via email or external channels. 5) Monitor web server logs and Nextcloud access logs for unusual activity related to the PDF viewer or attempts to access the example directory. 6) Employ web application firewalls (WAFs) with rules designed to detect and block XSS payloads targeting the PDF viewer. 7) Conduct regular security assessments and penetration testing focused on web application components, including third-party plugins and example directories. 8) Review and harden Nextcloud configuration to disable unnecessary features or example content that may introduce vulnerabilities. These measures, combined with prompt patching, will significantly reduce the risk posed by this vulnerability.
Description
CVE-2025-59788 is a cross-site scripting (XSS) vulnerability affecting the PDF viewer component of Nextcloud in multiple versions prior to specified patch releases. The vulnerability exists in a reachable example directory (files_pdfviewer) and allows an attacker to execute arbitrary JavaScript in the context of a user's browser by delivering a crafted PDF file to viewer.html. This can lead to session hijacking, credential theft, or other malicious actions within the user's session. Although no known exploits are currently reported in the wild, the vulnerability is related to a previous XSS issue (CVE-2024-4367), indicating a recurring weakness in the PDF viewer. European organizations using affected Nextcloud versions are at risk, especially those relying heavily on Nextcloud for document collaboration and storage. Mitigation requires updating to the fixed versions as soon as they become available and restricting access to example directories. Countries with high Nextcloud adoption and significant cloud collaboration usage, such as Germany, France, and the Netherlands, are most likely to be impacted. Given the ease of exploitation and potential impact on confidentiality and integrity without requiring authentication, this vulnerability is assessed as high severity.