{"id":"CVE-2026-134765","summary":"Kirby 5.0.0 before 5.6.4 XSS via Chunked Upload Race Condition","details":"Kirby 5.0.0 before 5.6.4 contains a race condition in Kirby\\Api\\Upload::processChunk() that allows authenticated users with upload permission to bypass SVG sanitization. Attackers can race concurrent chunked uploads sharing a filename to swap a benign SVG with a script-bearing SVG, executing stored cross-site scripting in the site origin.","aliases":["GHSA-g6q3-mf7c-27jh"],"modified":"2026-11-23T00:00:09.164919586Z","published":"2026-11-22T21:22:50.182Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134765.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134765.json"},{"type":"PACKAGE","url":"https://github.com/getkirby/kirby"},{"type":"ARTICLE","url":"https://github.com/getkirby/kirby/blob/5.6.3/src/Api/Upload.php#L251-L310"},{"type":"FIX","url":"https://github.com/getkirby/kirby/commit/1d40fb5eda3727dd4b03fd3359f4a565452bec66"},{"type":"ADVISORY","url":"https://github.com/getkirby/kirby/releases/tag/5.6.4"},{"type":"ADVISORY","url":"https://github.com/getkirby/kirby/security/advisories/GHSA-g6q3-mf7c-27jh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134765"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/kirby-5.0.0-before-5.6.4-xss-via-chunked-upload-race-condition"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getkirby/kirby","events":[{"introduced":"2ff182ba39ddea19fa1615bd3733f734b5e53842"},{"fixed":"40593aeb8c9a5894bad2440403536d0c7a38f487"},{"fixed":"1d40fb5eda3727dd4b03fd3359f4a565452bec66"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"5.0.0"},{"fixed":"5.6.4"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"1d40fb5eda3727dd4b03fd3359f4a565452bec66"}],"source":"REFERENCES_COMMIT"},{"original_tag":"5.6.4","range":[{"fixed":"40593aeb8c9a5894bad2440403536d0c7a38f487"}],"source":"REFERENCES_TAG"}]}}],"versions":["5.6.3","5.6.2","5.6.1","5.6.0","5.5.3","5.5.2","5.5.1","5.5.0","5.4.4","5.4.3","5.4.2","5.4.1","5.4.0","5.3.3","5.3.2","5.3.1","5.3.0","5.2.3","5.2.2","5.2.1","5.2.0","5.1.4","5.1.3","5.1.2","5.1.1","5.1.0","5.0.4","5.0.3","5.0.2","5.0.1","5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134765.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N"}]}