{"vuln_id":"CVE-2024-52515","aliases":["GHSA-5m5g-hw8c-2236"],"description":"Incomplete sanitization of SVG files allows to embed other images into previews","published_at":"2024-11-15T13:16:31Z","modified_at":"2024-11-15T13:16:31Z","first_seen_at":"2026-11-22T14:05:36.512389Z","severity":"medium","severity_source":"ghsa","cvss_score":5.7,"cvss_vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","cwe":["CWE-706"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.01009,"epss_percentile":0.62088,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-52515"},"matched_alias":null,"items":[{"id":12516,"source":{"id":"gh-nextcloud-advisories","name":"Nextcloud security advisories (GitHub nextcloud/security-advisories)"},"title":"GHSA-5m5g-hw8c-2236 / CVE-2024-52515: Incomplete sanitization of SVG files allows to embed other images into previews","summary":"Incomplete sanitization of SVG files allows to embed other images into previews\n\n### Impact\r\n\r\nAfter 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.\r\n\r\n### Patches\r\n\r\nIt is recommended that the Nextcloud Server is upgraded to 27.1.10, 28.0.6 or 29.0.1\r\nIt 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\r\n\r\n### Workarounds\r\n\r\n* Disable previews of SVG files\r\n\r\n### References\r\n\r\n* [HackerOne](https://hackerone.com/reports/2484499)\r\n* [PullRequest](https://github.com/nextcloud/server/pull/45340)\r\n\r\n### For more information\r\n\r\nIf you have any questions or comments about this advisory:\r\n\r\n* Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions)\r\n* Customers: Open a support ticket at [portal.nextcloud.com](https://portal.nextcloud.com)\n\nAffected packages: nextcloud enterprise:Server, nextcloud:Server\nPatched: 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","url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5m5g-hw8c-2236","published_at":"2024-11-15T13:16:31Z","updated_at":"2024-11-15T13:16:31Z","fetched_at":"2026-11-22T14:05:36.350988Z","severity":"medium","cvss_score":5.7,"epss":0.01009,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"nextcloud","product":"Server","vuln_id":"CVE-2024-52515","vuln_ids":["CVE-2024-52515","GHSA-5M5G-HW8C-2236"],"tags":["repo-advisory","nextcloud","nextcloud enterprise","CWE-706","security","repo:nextcloud/security-advisories","stack"],"cluster_id":11704,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12516","html":"https://vulnwatch.ve1ve2.com/item/12516"}}]}