# CVE-2024-52515: Nextcloud Server has incomplete sanitization of SVG files allows to embed other images into previews

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-15 · Modified: 2024-11-15
- Record: https://cvemate.com/vulnerability/CVE-2024-52515 · JSON: https://cvemate.com/vulnerability/CVE-2024-52515/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.7%, percentile 54.58%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud nextcloud\_server: ≥ 24.0.0, \< 24.0.12.15 \| ≥ 25.0.0, \< 25.0.13.10 \| ≥ 26.0.0, \< 26.0.13.4 \| ≥ 27.0.0, \< 27.1.10 \| ≥ 28.0.0, \< 28.0.6 \| ≥ 29.0.0, \< 29.0.1
- nextcloud security-advisories: ≥ 29.0.0, \< 29.0.1 \| ≥ 28.0.0, \< 28.0.6 \| ≥ 27.0.0, \< 27.1.10

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236>
- <https://github.com/nextcloud/server/pull/45340>
- <https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604>
- <https://hackerone.com/reports/2484499>

---

Data as of 2026-12-05T07:44:54.962Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
