VulnWatch by ve1ve2
medium 5.5 EPSS 0.32%

GHSA-24wp-p865-7j4r / CVE-2025-59788: Development files shipped in files_pdfviewer app

Source:
Nextcloud security advisories (GitHub nextcloud/security-advisories)
Published:
Fetched:
Updated:
Affects:
nextcloud Server

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24wp-p865-7j4r ↗

repo-advisorynextcloudnextcloud enterpriseCWE-79securityrepo:nextcloud/security-advisoriesstack

Development files shipped in files_pdfviewer app ### Impact An accidental left in place development file of a dependency allowed an attacker, that is able to upload files on the same server, to perform a cross-site scripting attack. ### Patches It is recommended that the Nextcloud Server is upgraded to 30.0.17, 31.0.10 or 32.0.1 It is recommended that the Nextcloud Enterprise Server is upgraded to 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 or 32.0.1 ### Workarounds * Remove `apps/files_pdfviewer/js/pdfjs/web/viewer.html` manually ### References * Reported by: [RedTeam Pentesting](https://www.redteam-pentesting.de/) * [PullRequest](https://github.com/nextcloud/files_pdfviewer/pull/1275) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com) Affected packages: nextcloud enterprise:Server, nextcloud:Server Patched: Server 30.0.17, 31.0.10, 32.0.1, Server 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

Linked vulnerabilities (2)

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

Development files shipped in files_pdfviewer app

CWE: CWE-79Aliases: CVE-2025-59788
CVE-2025-59788 medium 5.5 EPSS 0.32% (p26) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Development files shipped in files_pdfviewer app

CWE: CWE-79Aliases: GHSA-24wp-p865-7j4r