GHSA-5m5g-hw8c-2236 / CVE-2024-52515: Incomplete sanitization of SVG files allows to embed other images into previews
- Published:
- Fetched:
- Updated:
- Affects:
- nextcloud Server
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236 ↗
Incomplete sanitization of SVG files allows to embed other images into previews ### Impact 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. ### Patches It is recommended that the Nextcloud Server is upgraded to 27.1.10, 28.0.6 or 29.0.1 It is recommended that the 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 ### Workarounds * Disable previews of SVG files ### References * [HackerOne](https://hackerone.com/reports/2484499) * [PullRequest](https://github.com/nextcloud/server/pull/45340) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com) Affected packages: nextcloud enterprise:Server, nextcloud:Server Patched: Server 27.1.10, 28.0.6, 29.0.1, Server 24.0.12.15, 25.0.13.10, 26.0.13.4, 27.1.10, 28.0.6, 29.0.1