CVE-2026-134765
Deferred Deferred - Pending Action

Race Condition in Kirby CMS Allows Stored XSS via SVG Upload

Vulnerability report for CVE-2026-134765, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-22

Last updated on: 2026-11-22

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-22
Last Modified
2026-11-22
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
getkirby kirby From 5.0.0 (inc) to 5.6.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Kirby 5.0.0 before 5.6.4 has a race condition in the SVG upload process. Authenticated users with upload permissions can exploit concurrent chunked uploads to replace a safe SVG file with a malicious one containing scripts. This bypasses SVG sanitization and enables stored cross-site scripting attacks.

Detection Guidance

Detecting this vulnerability requires checking for concurrent chunked SVG uploads in Kirby 5.0.0 to 5.6.3. Monitor server logs for rapid, overlapping upload requests with the same filename. Look for unusual SVG content in upload directories or unexpected script execution in browser consoles.

Impact Analysis

If exploited, this vulnerability allows attackers to execute malicious scripts in the context of your Kirby site. This could lead to unauthorized data access, session hijacking, or defacement of your website. Users with upload permissions are the primary risk group.

Compliance Impact

This vulnerability could lead to data breaches, violating GDPR's integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Non-compliance may result in legal penalties, fines, or reputational damage.

Mitigation Strategies

Upgrade Kirby to version 5.6.4 or later immediately. Disable SVG uploads if not required. Implement strict file upload validation to block SVG files containing scripts. Review user permissions to ensure only trusted users have upload rights.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134765. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...