CVE-2025-66512 json
Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud
published 2025-12-05 11 mo ago modified 2026-10-18 22 d ago also EUVD-2025-201449
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nextcloud viewer 31.0.12, 32.0.3
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-66512 updated cvss 5.4
nextcloud-server: Nextcloud Server XSS in SVG images when opened outside of Nextcloud
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected products
- nextcloud security-advisories
Classification
References
-
github.com
/nextcloud/viewer/pull/3023
issue-tracking
-
github.com
/nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63
patch
-
github.com
/nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5
patch, vendor-advisory
-
hackerone.com
/reports/3357808
issue-tracking, vendor-advisory
Sources
- CVE List CVE-2025-66512
- NVD CVE-2025-66512
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.