ZeroDay Brief
CVE-2025-66512

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…

CVSS
6.1Medium
Chance of exploitation (EPSS)
—
Published
Dec 5, 2025
In the news
Not yet
Vendor advisory More from this vendor

What to do

A moderate cross-site scripting flaw in Nextcloud Server that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Nextcloud Security-advisories
< 31.0.12; >= 32.0.0beta1, < 32.0.3

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.

CWE-80CWE-79

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2025-66512 published (CVSS 6.1) (Dec 5, 2025)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Dec 5, 2025

  1. CVECVE-2025-66512 published (CVSS 6.1)CVE Program · 17:16 UTC

References 4

  • github.com PatchVendor Advisory /nextcloud/security-advisories/security/advisories/GHSA-qcw2-p26m-9gc5
  • github.com Patch /nextcloud/viewer/commit/5044a27d61bc40c0f134298d36af91f865335b63
  • hackerone.com Vendor Advisory /reports/3357808
  • github.com /nextcloud/viewer/pull/3023

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”