{"vuln_id":"GHSA-qcw2-p26m-9gc5","aliases":["CVE-2025-66512"],"description":"XSS in SVG images when opened outside of Nextcloud","published_at":"2025-12-05T08:07:16Z","modified_at":"2025-12-05T08:07:16Z","first_seen_at":"2026-11-22T14:05:36.512294Z","severity":"medium","severity_source":"ghsa","cvss_score":5.4,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","cwe":["CWE-80"],"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-qcw2-p26m-9gc5"},"matched_alias":null,"items":[{"id":12480,"source":{"id":"gh-nextcloud-advisories","name":"Nextcloud security advisories (GitHub nextcloud/security-advisories)"},"title":"GHSA-qcw2-p26m-9gc5 / CVE-2025-66512: XSS in SVG images when opened outside of Nextcloud","summary":"XSS in SVG images when opened outside of Nextcloud\n\n### Impact\r\n\r\nA missing sanitization allowed malicious users to circumvent the content security policy when a malicious user manages to trick a user it viewing an uploaded SVG outside of the Nextcloud Servers web page.\r\n\r\n### Patches\r\n\r\nIt is recommended that the Nextcloud Server is upgraded to 31.0.12 or 32.0.3\r\nIt is recommended that the Nextcloud Enterprise Server is upgraded to 31.0.12 or 32.0.3\r\n\r\n### Workarounds\r\n\r\n* No workaround available\r\n\r\n### References\r\n\r\n* [HackerOne](https://hackerone.com/reports/3357808)\r\n* [PullRequest](https://github.com/nextcloud/viewer/pull/3023)\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 entreprise:Server, nextcloud:Server\nPatched: Server 31.0.12, 32.0.3, Server 31.0.12, 32.0.3","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5","published_at":"2025-12-05T08:07:16Z","updated_at":"2025-12-05T08:07:16Z","fetched_at":"2026-11-22T14:05:36.350952Z","severity":"medium","cvss_score":5.4,"epss":0.00301,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"nextcloud","product":"Server","vuln_id":"CVE-2025-66512","vuln_ids":["CVE-2025-66512","GHSA-QCW2-P26M-9GC5"],"tags":["repo-advisory","nextcloud","nextcloud entreprise","CWE-80","security","repo:nextcloud/security-advisories","stack"],"cluster_id":11632,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12480","html":"https://vulnwatch.ve1ve2.com/item/12480"}}]}