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

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2024-11-15T17:03:09.033Z
- Modified: 2026-06-17T08:07:22.173Z
- Weaknesses: CWE-706
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 29.0.0, < 29.0.1; >= 28.0.0, < 28.0.6; >= 27.0.0, < 27.1.10
- nextcloud 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

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/45340> (issue-tracking)
- <https://github.com/nextcloud/server/commit/7e1c30f82a63fbea8c269e0eec38291377f32604> (patch)
- <https://hackerone.com/reports/2484499> (issue-tracking)

## Sources

- CVE List: [CVE-2024-52515](https://www.cve.org/CVERecord?id=CVE-2024-52515), CVE Terms of Use, modified 2024-11-15
- NVD: [CVE-2024-52515](https://nvd.nist.gov/vuln/detail/CVE-2024-52515), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52515 · Whole record: https://cve.day/CVE-2024-52515.json · Rebuilt by cve.day 2026-11-25T22:58:48.311Z
