CVE-2025-66512
JSON

5.4medium

Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
nextcloud security-advisories>= 32.0.0beta1, < 32.0.3, < 31.0.12CVE List
nextcloud nextcloud_serverfrom 31.0.0 before 31.0.12, from 32.0.0 before 32.0.3NVD

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-80

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Nextcloud Server es un sistema de nube personal autohospedado. En Nextcloud Server y Server Enterprise versiones anteriores a 31.0.12 y 32.0.3, una falta de sanitización permitió a usuarios maliciosos eludir la política de seguridad de contenidos cuando un usuario malicioso logra engañar a un usuario haciéndole visualizar un SVG subido fuera de la página web del servidor Nextcloud.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66512 changed 2025-12-05CVE Terms of Use
NVDCVE-2025-66512 changed 2026-10-18Public domain