Read the docs

Race condition in Kirby chunked uploads enables stored XSS via SVG

Priority LOW 39CWE-367Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Kirby from 5.0.0 before 5.6.4 contains a race condition in the chunked upload handling of Kirby\Api\Upload::processChunk() that is a time-of-check time-of-use flaw (CWE-367). An authenticated user with upload permission can race concurrent chunked uploads that share a filename to swap a benign SVG for a script-bearing one after sanitization. The injected script runs as stored cross-site scripting in the site origin.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00305 15th percentileScored 2026-11-30
Fix Fixed kirby (getkirby): 5.6.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getkirbykirby5.0.0 to before 5.6.45.6.4Patch availableCNA
  • kirby Vendorgetkirby Affected 5.0.0 to before 5.6.4 Fixed in 5.6.4 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*——getkirby
  • cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* Versions — — ·getkirby

Remediation

Update Kirby to version 5.6.4 or later, which fixes the flaw in the 5.x line.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA kirby (getkirby) Fixed in 5.6.4

Timeline

  1. 2026-11-22 Threatist record created from CVE-2026-134765
  2. 2026-11-23 Alias added: GHSA-c4ph-8hv2-w854
  3. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2024-17440 An arbitrary file upload vulnerability in the Profile Image module of Kirby CMS v4.1.0… CVSS 3.1HIGH 8.8
  • TI-2024-17439 An HTML injection vulnerability exists in the Edit Content Layout module of Kirby CMS… CVSS 3.1HIGH 7.1
  • TI-2026-23396 Kirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a… CVSS 3.1MEDIUM 6.5
  • TI-2024-17441 A stored cross-site scripting (XSS) vulnerability in the Edit Content Layout module of… CVSS 3.1MEDIUM 6.1
  • TI-2018-10413 An issue was discovered in Kirby 2.5.12. CVSS 3.1MEDIUM 5.4
  • TI-2024-17438 Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter. CVSS 3.1MEDIUM 4.7
See all 62 →

Sources