{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-61607","published":"2026-08-19T16:18:16.723000Z","last_modified":"2026-09-09T21:13:25.910000Z","status":"Deferred","cvss":{"version":"3.1","score":4.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["getgrav"],"products":["getgrav/grav-plugin-api"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":28,"links":{"html_es":"/es/cve/CVE-2026-61607/","html_en":"/en/cve/CVE-2026-61607/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61607","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-61607"},"untrusted":{"vendor_name":"getgrav","product_name":"grav-plugin-api","desc_en":"Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.2, the Grav API plugin POST /api/v1/media pipeline in HandlesMediaUploads::processUploadedFile() validates an SVG filename extension but does not invoke Security::sanitizeSVG(). An attacker with api.media.write permission can store an SVG containing JavaScript, and the server returns the file as Content-Type: image/svg+xml so the script executes when a victim opens it, allowing session data theft and authenticated actions. This issue is fixed in version 1.0.2.","affected":[{"untrusted_vendor":"getgrav","untrusted_product":"grav-plugin-api","versions":[]}],"references":[{"url":"https://github.com/getgrav/grav-plugin-api/commit/d25eedb84a387f2c71b12a374f2a4b3d74339a7e","tags":[]},{"url":"https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.2","tags":[]},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-7vhm-8x52-2r5p","tags":[]}]}}