{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-59788","id":"CVE-2025-59788","title":"Cross-site scripting (XSS) vulnerability in a reachable files_pdfviewer example directory in Nextcloud with versions…","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-","descriptionLong":"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":"2025-12-04T00:00:00.000Z","updated":"2026-10-28T02:31:10.869409099Z","reserved":"2025-09-19T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre.org"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["Nextcloud"],"affectedProducts":[{"vendor":"Nextcloud","product":"Nextcloud","defaultStatus":"unaffected","versions":[{"lessThan":"22.2.10.33","status":"affected","version":"0","versionType":"custom"},{"lessThan":"23.0.12.29","status":"affected","version":"23","versionType":"custom"},{"lessThan":"24.0.12.28","status":"affected","version":"24","versionType":"custom"},{"lessThan":"25.0.13.23","status":"affected","version":"25","versionType":"custom"},{"lessThan":"26.0.13.20","status":"affected","version":"26","versionType":"custom"},{"lessThan":"27.1.11.20","status":"affected","version":"27","versionType":"custom"},{"lessThan":"28.0.14.11","status":"affected","version":"28","versionType":"custom"},{"lessThan":"29.0.16.8","status":"affected","version":"29","versionType":"custom"},{"lessThan":"30.0.17","status":"affected","version":"30","versionType":"custom"},{"lessThan":"31.0.10","status":"affected","version":"31","versionType":"custom"},{"lessThan":"32.0.1","status":"affected","version":"32","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-749","CWE-79"],"aliases":["GHSA-24wp-p865-7j4r"],"references":[{"url":"https://nextcloud.com","tags":["Product","web"]},{"url":"https://www.redteam-pentesting.de/en/advisories/rt-sa-2025-003/","tags":["Exploit","Third Party Advisory","advisory"]},{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24wp-p865-7j4r","tags":["Mitigation","Vendor Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59788.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59788","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00324,"epssPercentile":0.26092,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-59788","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59788","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-59788","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-59788","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}