Kirby 5.0.0 before 5.6.4 XSS via Chunked Upload Race Condition
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| kirby getkirby | 5.0.0 to before 5.6.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.7 High | VulnCheck |
Weaknesses
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
- GitHub Security Advisory (GHSA-g6q3-mf7c-27jh)Vendor Advisory
- https://github.com/getkirby/kirby/commit/1d40fb5eda3727dd4b03fd3359f4a565452bec66Patch
- kirby 5.6.4 Release NotesRelease Notes
- https://github.com/getkirby/kirby/blob/5.6.3/src/Api/Upload.php#L251-L310Technical Details
- VulnCheck Advisory: Kirby 5.0.0 before 5.6.4 XSS via Chunked Upload Race ConditionThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.