{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-61456","published":"2026-07-10T15:16:51.023000Z","last_modified":"2026-10-25T15:10:00.147000Z","status":"Deferred","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["getgrav"],"products":["getgrav/grav"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2026-61456/","html_en":"/en/cve/CVE-2026-61456/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61456","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-61456"},"untrusted":{"vendor_name":"getgrav","product_name":"grav","desc_en":"The Grav API plugin (getgrav/grav-plugin-api) before 1.0.3 fails to sanitize SVG files uploaded through the POST /api/v1/media endpoint. The HandlesMediaUploads::processUploadedFile() method validates only the file extension and never invokes Security::sanitizeSVG(), so an authenticated attacker with the api.media.write permission can upload an SVG containing arbitrary JavaScript. The file is stored unmodified and served with Content-Type: image/svg+xml; when an administrator opens it in a browser (directly or via <object>/<iframe>), the embedded script executes in their session context, enabling cookie theft and session hijacking.","affected":[{"untrusted_vendor":"getgrav","untrusted_product":"grav","versions":[]}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-7vhm-8x52-2r5p","tags":[]},{"url":"https://www.vulncheck.com/advisories/grav-before-stored-xss-via-svg-upload-api","tags":[]}]}}