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 package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | >= 32.0.0beta1, < 32.0.3, < 31.0.12 | CVE List |
| nextcloud nextcloud_server | from 31.0.0 before 31.0.12, from 32.0.0 before 32.0.3 | NVD |
All scores
| GitHub_M | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
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
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5 | patch, vendor-advisory | |
| https://github.com/nextcloud/viewer/pull/3023 | issue-tracking | |
| https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63 | patch | |
| https://hackerone.com/reports/3357808 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66512 changed 2025-12-05 | CVE Terms of Use |
| NVD | CVE-2025-66512 changed 2026-10-18 | Public domain |