Security mailing lists by PureSourceCode

CVE-2025-59788

MEDIUM 5.4CVSS 3.1

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.

Published
4 Dec 2025
Last modified
18 Oct 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-749CWE-79
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve@mitre.org (Secondary) CVSS 3.1 MEDIUM 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*
>= 30.0.0, < 30.0.17 30.0.17
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*
>= 31.0.0, < 31.0.10 31.0.10
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*
>= 32.0.0, < 32.0.1 32.0.1
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 22.0.0, < 22.2.10.33 22.2.10.33
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 23.0.0, < 23.0.12.29 23.0.12.29
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 24.0.0, < 24.0.12.28 24.0.12.28
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 25.0.0, < 25.0.13.23 25.0.13.23
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 26.0.0, < 26.0.13.20 26.0.13.20
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 27.0.0, < 27.1.11.20 27.1.11.20
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 28.0.0, < 28.0.14.11 28.0.14.11
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 29.0.0, < 29.0.16.8 29.0.16.8
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 30.0.0, < 30.0.17 30.0.17
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 31.0.0, < 31.0.10 31.0.10
NVD nextcloud nextcloud_server
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
>= 32.0.0, < 32.0.1 32.0.1

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 4 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.