Skip to main content
VulnerabilityPublished

CVE-2025-66512: nextcloud security-advisories · Basic XSS

Affects nextcloud security-advisoriesSource CVE Database V5

0

Not known to be exploited · CVSS 5.4 Medium : upgrade to 31.0.12 when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 31.0.12
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade nextcloud/viewer to 31.0.12.

Affected software

ProductAffectedFixed in
GitHubnextcloud/viewerpkg:github/nextcloud/viewerOther threatsAffected
  • <31.0.12
Fixed in
  • 31.0.12

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade Nextcloud Server and Server Enterprise installations to versions 31.0.12 or 32.0.3 or later, where the vulnerability is patched.
  2. Implement strict content security policies that restrict the execution of scripts from uploaded SVG files or disable SVG rendering if not required.
  3. Configure Nextcloud to sanitize or block SVG uploads if possible, or convert SVG files to safer formats before rendering.
  4. Educate users about the risks of opening SVG files from untrusted sources, especially outside the Nextcloud web interface.
  5. Monitor logs for unusual access patterns or attempts to access SVG files directly.
  6. Employ web application firewalls (WAFs) with rules to detect and block malicious SVG payloads.
  7. Regularly audit and update all self-hosted cloud software components to minimize exposure to known vulnerabilities. These steps go beyond generic advice by focusing on SVG-specific handling and user awareness tailored to this vulnerability.

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.

References

Community reviews

Loading reviews…