{"id":"CVE-2025-66512","state":"PUBLISHED","title":"Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud","description":"Nextcloud Server is a self hosted personal cloud system. In Nextcloud Server and Server Enterprise prior to 31.0.12 and 32.0.3, a 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.","publishedAt":"2025-12-05T16:22:50.206Z","updatedAt":"2025-12-05T20:05:05.069Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["nextcloud security-advisories"],"affected":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":">= 32.0.0beta1, < 32.0.3","status":"affected"},{"version":"< 31.0.12","status":"affected"}]}],"references":["https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5","https://github.com/nextcloud/viewer/pull/3023","https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63","https://hackerone.com/reports/3357808"],"weaknesses":["CWE-80"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66512.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66512","state":"PUBLISHED","datePublished":"2025-12-05T16:22:50.206Z","dateUpdated":"2025-12-05T20:05:05.069Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-03T15:28:02.992Z"},"containers":{"cna":{"title":"Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud","descriptions":[{"lang":"en","value":"Nextcloud Server is a self hosted personal cloud system. In Nextcloud Server and Server Enterprise prior to 31.0.12 and 32.0.3, a 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."}],"affected":[{"vendor":"nextcloud","product":"security-advisories","versions":[{"version":">= 32.0.0beta1, < 32.0.3","status":"affected"},{"version":"< 31.0.12","status":"affected"}]}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5","name":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nextcloud/viewer/pull/3023","name":"https://github.com/nextcloud/viewer/pull/3023","tags":["x_refsource_MISC"]},{"url":"https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63","name":"https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/3357808","name":"https://hackerone.com/reports/3357808","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-80","lang":"en","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-12-05T16:22:50.206Z"},"source":{"advisory":"GHSA-qcw2-p26m-9gc5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-05T20:04:51.050053Z","id":"CVE-2025-66512","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-05T20:05:05.069Z"}}]}}}