CVE-2025-66512
Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud
5.4CVSSMEDIUM
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:RUser InteractionRequired
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:LIntegrityLow
A:LAvailabilityLow
Weaknesses
Affected Products
nextcloud gmbhcommercialDECloud & SaaSaka nextcloud server, nextcloud enterprise server, nextcloud calendar
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
MITRE ATT&CK
2 techniques Execution
Initial Access
References
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5
github.com
https://github.com/nextcloud/viewer/pull/3023
github.com
https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63
github.com
and 7 more references View all →
Timeline
Published
Dec 5, 2025
Last Updated
Dec 9, 2025
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-66512 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows