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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-80"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66512.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "31.0.0"
},
{
"fixed": "31.0.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "31.0.0"
},
{
"fixed": "31.0.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*",
"range": [
{
"introduced": "32.0.0"
},
{
"fixed": "32.0.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "32.0.0"
},
{
"fixed": "32.0.3"
}
],
"source": "CPE_RANGE"
}
]
}
{
"extracted_events": [
{
"range": [
{
"introduced": "32.0.0beta1"
},
{
"fixed": "32.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "31.0.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "5044a27d61bc40c0f134298d36af91f865335b63"
}
],
"source": "REFERENCES_COMMIT"
}
]
}