Read the docs
TI-2025-37238 Aliases CVE-2025-59788GHSA-88cv-g9gq-h6pq

Cross-site scripting in Nextcloud

Priority MEDIUM 62CWE-749Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00324 25th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Nextcloud (Nextcloud): 22.2.10.33, 23.0.12.29, 24.0.12.28 +8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nextcloudNextcloudbefore 22.2.10.33; 23 to before 23.0.12.29; 24 to before 24.0.12.28; 25 to before 25.0.13.23; 26 to before 26.0.13.20; 27 to before 27.1.11.20; 28 to before 28.0.14.11; 29 to before 29.0.16.8; 30 to before 30.0.17; 31 to before 31.0.10; 32 to before 32.0.122.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, 32.0.1Patch availableCNA
  • Nextcloud Vendornextcloud Affected before 22.2.10.33; 23 to before 23.0.12.29; 24 to before 24.0.12.28; 25 to before 25.0.13.23; 26 to before 26.0.13.20; 27 to before 27.1.11.20; 28 to before 28.0.14.11; 29 to before 29.0.16.8; 30 to before 30.0.17; 31 to before 31.0.10; 32 to before 32.0.1 Fixed in 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, 32.0.1 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*30.0.0 to before 30.0.17; 31.0.0 to before 31.0.10; 32.0.0 to before 32.0.1Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*22.0.0 to before 22.2.10.33; 23.0.0 to before 23.0.12.29; 24.0.0 to before 24.0.12.28; 25.0.0 to before 25.0.13.23; 26.0.0 to before 26.0.13.20; 27.0.0 to before 27.1.11.20; 28.0.0 to before 28.0.14.11; 29.0.0 to before 29.0.16.8; 30.0.0 to before 30.0.17; 31.0.0 to before 31.0.10; 32.0.0 to before 32.0.1Vulnerablenextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* Versions 30.0.0 to before 30.0.17; 31.0.0 to before 31.0.10; 32.0.0 to before 32.0.1 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* Versions 22.0.0 to before 22.2.10.33; 23.0.0 to before 23.0.12.29; 24.0.0 to before 24.0.12.28; 25.0.0 to before 25.0.13.23; 26.0.0 to before 26.0.13.20; 27.0.0 to before 27.1.11.20; 28.0.0 to before 28.0.14.11; 29.0.0 to before 29.0.16.8; 30.0.0 to before 30.0.17; 31.0.0 to before 31.0.10; 32.0.0 to before 32.0.1 Vulnerable ·nextcloud

Remediation

  • Fix · CNA Nextcloud (Nextcloud) Fixed in 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, 32.0.1

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59788
  2. 2026-10-03 Alias added: GHSA-88cv-g9gq-h6pq

References

  • TI-2023-20855 Users can delete external storage mount points CVSS 3.1HIGH 7.7
  • TI-2023-11091 Nextcloud download permissions can be changed by resharer CVSS 3.1HIGH 7.5
  • TI-2023-10624 Nextcloud Server vulnerable to SSRF via filter bypass due to lax checking on IPs CVSS 3.1MEDIUM 5.3
  • TI-2023-11086 nextcloud vulnerable to Uncontrolled Resource Consumption CVSS 3.1MEDIUM 6.5
  • TI-2022-18738 Exception logging in Sharepoint app reveals clear-text connection details CVSS 3.1MEDIUM 6.5
  • TI-2022-08555 High memory usage in Nextcloud server CVSS 3.1MEDIUM 6.5
See all 188 →

Sources