CVE-2026-134765 Details
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.
A race condition vulnerability has been identified in Kirby versions 5.0.0 prior to 5.6.4, specifically within the chunked file upload process. This vulnerability allows authenticated users with upload permissions to bypass the sanitization of SVG files. Attackers can exploit this by racing concurrent chunked uploads that share the same filename, swapping a harmless SVG for one containing a script. This script is then executed, leading to stored cross-site scripting (XSS) on the site.
Users can update to Kirby version 5.6.4, where this vulnerability has been patched. After updating, it's recommended to review and sanitize any SVG files uploaded before the update.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 22, 2026CISA-ADP
Assessed Nov 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getkirby/kirby/blob/5.6.3/src/Api/Upload.php#L251-L310 | [email protected] | Source CodeVendor |
| https://github.com/getkirby/kirby/commit/1d40fb5eda3727dd4b03fd3359f4a565452bec66 | [email protected] | Source CodeVendor |
| https://github.com/getkirby/kirby/releases/tag/5.6.4 | [email protected] | AdvisoryBundleRelease NotesVendor |
| https://github.com/getkirby/kirby/security/advisories/GHSA-g6q3-mf7c-27jh | [email protected] | AdvisoryRemedyVendor |
| https://www.vulncheck.com/advisories/kirby-5.0.0-before-5.6.4-xss-via-chunked-upload-race-condition | [email protected] | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kirby | >= 5.0.0, < 5.6.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 23, 2026 | CVE Modified | CISA-ADP |
| Nov 22, 2026 | New CVE Received | [email protected] |
Volerion