CVE & CISA-KEV Catalog

CVE-2025-59788

MEDIUM
6.4
CVSS v3
NVD

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.

How to fix

Remediation Available
nextcloud serverNVD
Affected:>= 32.0.0, < 32.0.1Fixed in:32.0.1CVE-2025-59788derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Exploit Intelligence

0.25%probability of exploitation in 30 days
16thpercentile

Low risk: more likely to be exploited than 16% of all known CVEs.

References

Vendor Advisory1
Embed a live status badge for CVE-2025-59788
CVE-2025-59788 severity badge

Markdown

[![CVE-2025-59788](https://tridentstack.com/cve/badge/CVE-2025-59788.svg)](https://tridentstack.com/cve/CVE-2025-59788)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-59788"><img src="https://tridentstack.com/cve/badge/CVE-2025-59788.svg" alt="CVE-2025-59788"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-03-25.