CVE-2025-66512 Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud
MediumCVSS 6.1
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextcloud server | >= 31.0.0, < 31.0.12; >= 32.0.0, < 32.0.3 | 31.0.12, 32.0.3 | Fixed |
| Nextcloud security-advisories | = < 31.0.12; = >= 32.0.0beta1, < 32.0.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = >= 32.0.0beta1, < 32.0.3 | No fix listed |
| Nextcloud security-advisories | = < 31.0.12 | No fix listed |
| nextcloud server | >= 31.0.0, < 31.0.12 | 31.0.12 |
| nextcloud server | >= 32.0.0, < 32.0.3 | 32.0.3 |
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