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

Published Nov 15, 2024
·
Updated

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 Software

11 affected components
Nextcloud Server<27.1.10, <28.0.6, <29.0.1
Nextcloud Enterprise Server<24.0.12.15, <25.0.13.10, <26.0.13.4, <27.1.10, <28.0.6, <29.0.1
Nextcloud NextCloud Server>=24.0.0<24.0.12.15
Nextcloud NextCloud Server>=25.0.0<25.0.13.10
Nextcloud NextCloud Server>=26.0.0<26.0.13.4
Nextcloud NextCloud Server>=27.0.0<27.1.10
Nextcloud NextCloud Server>=27.0.0<27.1.10
Nextcloud NextCloud Server>=28.0.0<28.0.6
Nextcloud NextCloud Server>=28.0.0<28.0.6
Nextcloud NextCloud Server>=29.0.0<29.0.1
Nextcloud NextCloud Server>=29.0.0<29.0.1

Event History

Nov 15, 2024
CVE Published
via MITRE·05:03 PM
Data Sourced
via MITRE·05:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 2, 57721
Event
via NVD·11:28 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-52515?

CVE-2024-52515 has been categorized as a medium severity vulnerability.

2

How do I fix CVE-2024-52515?

To mitigate CVE-2024-52515, do not enable the SVG preview provider in your Nextcloud Server settings.

3

Which versions of Nextcloud are affected by CVE-2024-52515?

CVE-2024-52515 affects Nextcloud Server versions up to 27.1.10, 28.0.6, and 29.0.1, as well as Nextcloud Enterprise Server versions up to 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6, and 29.0.1.

4

What type of vulnerability is CVE-2024-52515?

CVE-2024-52515 is a vulnerability that allows a malicious user to manipulate SVG file previews.

5

Is there a workaround for CVE-2024-52515?

A temporary workaround for CVE-2024-52515 is to only allow trusted users to upload SVG files or to disable SVG previews entirely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203