CVE-2025-66512 Details
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.
A cross-site scripting vulnerability has been identified in Nextcloud Server and Nextcloud Server Enterprise versions 31.0.0 through 31.0.11 and 32.0.0 through 32.0.2. The issue arises from a lack of proper sanitization, which allows malicious users to bypass the content security policy. This can occur when a user is tricked into viewing an uploaded SVG file outside of the Nextcloud web interface.
Users are advised to upgrade Nextcloud Server to version 31.0.12 or 32.0.3. Nextcloud Enterprise Server users should upgrade to version 31.0.12 or 32.0.3.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5 | [email protected] | PatchVendor Advisory |
| https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63 | [email protected] | Patch |
| https://github.com/nextcloud/viewer/pull/3023 | [email protected] | Issue Tracking |
| https://hackerone.com/reports/3357808 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-80 | Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextcloud nextcloud server | >= 31.0.0, < 31.0.12 >= 32.0.0, < 32.0.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 9, 2025 | Initial Analysis | [email protected] |
| Dec 5, 2025 | New CVE Received | [email protected] |