What’s Vulnerable › Vulnerabilities
CVE-2024-52515: Nextcloud Server has incomplete sanitization of SVG files allows to embed other images into previews
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-15 · updated 2026-06-17
- Weakness: CWE-706
Description
Nextcloud Server is a self hosted personal cloud system. After an admin enables the default-disabled SVG preview provider, a malicious user could upload a manipulated SVG file referencing paths. If the file would exist the preview of the SVG would preview the other file instead. It is recommended that the Nextcloud Server is upgraded to 27.1.10, 28.0.6 or 29.0.1 and Nextcloud Enterprise Server is upgraded to 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6 or 29.0.1.
Affected products
- Nextcloud Server: from 24.0.0 before 24.0.12.15; from 25.0.0 before 25.0.13.10; from 26.0.0 before 26.0.13.4; from 27.0.0 before 27.1.10; from 28.0.0 before 28.0.6; from 29.0.0 before 29.0.1 — fixed in 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6, 29.0.1
How to fix
Upgrade to a fixed version: Nextcloud Server 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236
- https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604
- https://github.com/nextcloud/server/pull/45340
- https://hackerone.com/reports/2484499
Get alerted when CVE-2024-52515 or the next vulnerability affects your stack