Description
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.
Metrics
CVSS 3.1 7.7/10
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| getkirby | kirby | >= 5.0.0, < 5.6.4 |
References
- https://github.com/getkirby/kirby/blob/5.6.3/src/Api/Upload.php#L251-L310
- https://github.com/getkirby/kirby/commit/1d40fb5eda3727dd4b03fd3359f4a565452bec66
- https://github.com/getkirby/kirby/releases/tag/5.6.4
- https://github.com/getkirby/kirby/security/advisories/GHSA-g6q3-mf7c-27jh
- https://www.vulncheck.com/advisories/kirby-5.0.0-before-5.6.4-xss-via-chunked-upload-race-condition
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred