CVE-2025-66512

Nextcloud Server vulnerable to XSS in SVG images when opened outside of Nextcloud

State
Published
Severity
5.4 Medium
Published
Dec 5, 2025
Updated
Dec 5, 2025
Reserved
Dec 3, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LGitHub_M

Weaknesses

  • CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Affected Products

ProductVersions
security-advisoriesnextcloud
  • >= 32.0.0beta1, < 32.0.3Affected
  • < 31.0.12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.