CVE-2025-66512: Nextcloud Server - Content Security Policy Bypass
- Cve: CVE-2025-66512
- Name: Nextcloud Server - Content Security Policy Bypass
- 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.
- Impact: Malicious users can bypass content security policy, potentially leading to client-side script execution when users view crafted SVG files.
- Remediation: Update to version 31.0.12, 32.0.3 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to trick user into viewing a malicious SVG outside the Nextcloud web page
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00301
- Epss percentile: 0.22948
- Assignee: [email protected]
- Published at: 2025-12-05T17:16:04Z
- Age in days: 354
- Modified at: 2026-10-18T14:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66512
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-80 | Improper Neutralization of Script-Related HTML Tags in a Web Page |
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5 | Patch, Vendor Advisory |
| https://github.com/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63 | Patch |
| https://hackerone.com/reports/3357808 | Issue Tracking, Vendor Advisory |
| https://github.com/nextcloud/viewer/pull/3023 | Issue Tracking |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nextcloud:nextcloud_server | >= 32.0.0, < 32.0.3; >= 31.0.0, < 31.0.12 | no | nvd | /v1/products/nextcloud/nextcloud_server |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nextcloud/viewer | commit, pull | yes | /v1/repositories/nextcloud/viewer |
| nextcloud/security-advisories | security_advisory | yes | /v1/repositories/nextcloud/security-advisories |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 110639
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since