CVE-2026-134765
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 san…
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to be involved, for example by viewing content. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products (Getkirby)
| Product | Affected versions |
|---|---|
| Kirby | from 5.0.0 before 5.6.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/getkirby/kirby/security/advisories/GHSA-g6q3-mf7c-27jh
- https://github.com/getkirby/kirby/commit/1d40fb5eda3727dd4b03fd3359f4a565452bec66
- https://github.com/getkirby/kirby/releases/tag/5.6.4
- https://github.com/getkirby/kirby/blob/5.6.3/src/Api/Upload.php#L251-L310
- https://www.vulncheck.com/advisories/kirby-5.0.0-before-5.6.4-xss-via-chunked-upload-race-condition
- https://github.com/advisories/GHSA-c4ph-8hv2-w854
- https://nvd.nist.gov/vuln/detail/CVE-2026-134765