6.4

CVE-2025-59788: nextcloud Exposed Dangerous Method or Function

CVSS: 6.4v3.1MediumAnalyzed
Published 04-12-2025Last modified 11-12-2025

Vulnerability summary

CVE-2025-59788 is a medium (CVSS 6.4) Exposed Dangerous Method or Function vulnerability in nextcloud. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 04-12-2025
    PublishedVulnerability first disclosed.
  2. 11-12-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.30%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

0.00 pp

From 0.30% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.30%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (redteam-pentesting.de)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Nextcloud2 products
  • nextcloud< 22.2.10.33 | ≥ 23, < 23.0.12.29 | ≥ 24, < 24.0.12.28 | ≥ 25, < 25.0.13.23 | ≥ 26, < 26.0.13.20 | ≥ 27, < 27.1.11.20 | ≥ 28, < 28.0.14.11 | ≥ 29, < 29.0.16.8 | ≥ 30, < 30.0.17 | ≥ 31, < 31.0.10 | ≥ 32, < 32.0.1
  • nextcloud_server≥ 30.0.0, < 30.0.17 | ≥ 31.0.0, < 31.0.10 | ≥ 32.0.0, < 32.0.1 | ≥ 22.0.0, < 22.2.10.33 | ≥ 23.0.0, < 23.0.12.29 | ≥ 24.0.0, < 24.0.12.28 | ≥ 25.0.0, < 25.0.13.23 | ≥ 26.0.0, < 26.0.13.20 | ≥ 27.0.0, < 27.1.11.20 | ≥ 28.0.0, < 28.0.14.11 | ≥ 29.0.0, < 29.0.16.8

1 vendor · 2 products

References

3 links