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