CVE-2025-66512
published medium CVSS 3.1 · 5.4Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories>= 32.0.0beta1, < 32.0.3 · < 31.0.12 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | >= 32.0.0beta1, < 32.0.3 (affected)< 31.0.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
4Provider assertions
2GitHub_M · cna
Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 642bc93006b4f926824d797942642c3abf5f6a092da8888f03a5141a798e4f76
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record