CVE-2025-66512

MEDIUM
Published Dec 5, 2025 Modified Dec 9, 2025 CWE-80 CWE-79

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.

CVSS v3.1 Score

5.4
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Weakness Type (CWE)

CWE-80 CWE-80
CWE-79 Cross-site Scripting (XSS)

Affected Products

Vendor Product
nextcloud nextcloud_server
nextcloud nextcloud_server
nextcloud nextcloud_server
nextcloud nextcloud_server

References

Frequently Asked Questions

What is CVE-2025-66512? +
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. It has a CVSS v3.1 base score of 5.4 (MEDIUM).
How severe is CVE-2025-66512? +
CVE-2025-66512 has a CVSS v3.1 score of 5.4 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-66512? +
CVE-2025-66512 affects products from nextcloud, specifically: nextcloud_server. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-66512? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-66512 — free, no signup required.

Start Free Scan