{"vuln_id":"GHSA-24wp-p865-7j4r","aliases":["CVE-2025-59788"],"description":"Development files shipped in files_pdfviewer app","published_at":"2025-12-05T07:50:09Z","modified_at":"2025-12-05T07:50:09Z","first_seen_at":"2026-11-22T14:05:36.512334Z","severity":"medium","severity_source":"ghsa","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-24wp-p865-7j4r"},"matched_alias":null,"items":[{"id":12497,"source":{"id":"gh-nextcloud-advisories","name":"Nextcloud security advisories (GitHub nextcloud/security-advisories)"},"title":"GHSA-24wp-p865-7j4r / CVE-2025-59788: Development files shipped in files_pdfviewer app","summary":"Development files shipped in files_pdfviewer app\n\n### Impact\r\n\r\nAn 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.\r\n\r\n### Patches\r\n\r\nIt is recommended that the Nextcloud Server is upgraded to 30.0.17, 31.0.10 or 32.0.1\r\nIt 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\r\n\r\n### Workarounds\r\n\r\n* Remove `apps/files_pdfviewer/js/pdfjs/web/viewer.html` manually\r\n\r\n### References\r\n\r\n* Reported by: [RedTeam Pentesting](https://www.redteam-pentesting.de/)\r\n* [PullRequest](https://github.com/nextcloud/files_pdfviewer/pull/1275)\r\n\r\n### For more information\r\n\r\nIf you have any questions or comments about this advisory:\r\n\r\n* Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions)\r\n* Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com)\n\nAffected packages: nextcloud enterprise:Server, nextcloud:Server\nPatched: 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","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24wp-p865-7j4r","published_at":"2025-12-05T07:50:09Z","updated_at":"2025-12-05T07:50:09Z","fetched_at":"2026-11-22T14:05:36.350968Z","severity":"medium","cvss_score":5.5,"epss":0.00324,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"nextcloud","product":"Server","vuln_id":"CVE-2025-59788","vuln_ids":["CVE-2025-59788","GHSA-24WP-P865-7J4R"],"tags":["repo-advisory","nextcloud","nextcloud enterprise","CWE-79","security","repo:nextcloud/security-advisories","stack"],"cluster_id":11666,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12497","html":"https://vulnwatch.ve1ve2.com/item/12497"}}]}