What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2024-52515 or the next vulnerability affects your stack