VulnWatch by ve1ve2
medium 5.7 EPSS 1.01%

GHSA-5m5g-hw8c-2236 / CVE-2024-52515: Incomplete sanitization of SVG files allows to embed other images into previews

Source:
Nextcloud security advisories (GitHub nextcloud/security-advisories)
Published:
Fetched:
Updated:
Affects:
nextcloud Server

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236 ↗

repo-advisorynextcloudnextcloud enterpriseCWE-706securityrepo:nextcloud/security-advisoriesstack

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

Linked vulnerabilities (2)

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Incomplete sanitization of SVG files allows to embed other images into previews

CWE: CWE-706Aliases: CVE-2024-52515
CVE-2024-52515 medium 5.7 EPSS 1.01% (p62) NVDCVE.orgGHSA
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Incomplete sanitization of SVG files allows to embed other images into previews

CWE: CWE-706Aliases: GHSA-5m5g-hw8c-2236