Skip to main content

Kirby CMS CVE-2026-44175

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-26 https://github.com/getkirby/kirby GHSA-5fhx-9q32-q257
8.5
CVSS 4.0 · Vendor: https://github.com/getkirby/kirby
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged Panel user
  2. Delivery
    Send crafted list-field HTML to Kirby API
  3. Exploit
    Payload stored unsanitized in content file
  4. Execution
    Victim loads frontend page
  5. Persist
    Auto-firing JavaScript executes in browser
  6. Impact
    Abuse Kirby API as victim / escalate to admin

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Kirby Panel account holding update permission to a list field or a list block within a blocks field (PR:L), and the target site must actually use the list field/block in at least one blueprint. The payload is submitted directly to Kirby's content API, bypassing the Panel's own sanitization. Execution also requires victim interaction (UI:P): a user or admin must load the frontend template that renders the poisoned list content - the payload can be auto-firing on page load, so no click is needed, but the page must be visited. Limiting factors: exploitation is impossible if the list field/block is not used anywhere, or if every content editor is fully trusted; the Panel itself does not execute the injected script, so only the frontend is the execution surface.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N) scores 8.5 (High): network-reachable, low complexity, but requiring low-level authenticated privileges (PR:L - an authenticated Panel user with list-field update permission) and passive user interaction (UI:P - a victim must load the affected frontend page). High confidentiality and integrity impact reflect session/API abuse and privilege escalation (e.g., a low-privilege editor capturing an admin's Panel session). Counterbalancing this, the EPSS probability is only 0.04% (12th percentile), the CVE is not in CISA KEV, and no POC is referenced - so this is a real but conditional priority: dangerous where untrusted users can author list content, low urgency where all editors are trusted or the list field is unused. The PR:L requirement and the need to already hold a Panel account meaningfully limit the attacker population, making this an insider/privilege-escalation risk more than an internet-wide exposure.

Exploit ScenarioDerived

A low-privileged but authenticated Panel editor with update rights to a list field crafts a POST directly to Kirby's content API, storing a list-field value containing an auto-firing <script> (or event-handler) HTML payload instead of using the sanitizing Panel UI. When an admin or ordinary visitor later loads the frontend page that renders that list content, the script executes in their browser, letting the attacker issue Kirby API calls with the victim's permissions and potentially hijack an admin session. No public POC is referenced, but the attack is straightforward given the low complexity (AC:L).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 16, 2026

Stored cross-site scripting in Kirby CMS (versions before 4.9.1 and 5.4.1) allows an authenticated Panel user with update permission to a list field or list block to inject unsanitized HTML directly via Kirby's API, which is later rendered and executed in the browsers of frontend visitors and logged-in users. Because the list field intentionally stores formatted HTML and was not sanitized on save, an attacker can plant auto-firing JavaScript that runs when affected pages load. No public exploit identified at time of analysis, and the EPSS score is very low (0.04%), consistent with a privilege-gated, non-KEV issue rather than mass exploitation.

Earlier versions of this analysis (1)
v1 May 27, 2026 - 00:12

Stored cross-site scripting (XSS) in Kirby CMS affects any site that uses the list field or a blocks field containing the list block. Per the vendor advisory, an authenticated Panel user holding update permission on such a field can bypass the Panel UI and POST unsanitized HTML directly to Kirby's content API, where it is persisted to the content file and later rendered verbatim in frontend templates, executing arbitrary JavaScript in the browsers of site visitors and logged-in users. Because the injected script is auto-firing on page load, it can hijack sessions or escalate privileges by issuing API calls as a viewing admin; no CVSS score, EPSS probability, or CISA KEV listing is available, and no public exploit was identified at time of analysis, though the vendor rates it high severity and has released fixes (Kirby 4.9.1 and 5.4.1).

RemediationAI

Vendor-released patch: upgrade to Kirby 4.9.1 (https://github.com/getkirby/kirby/releases/tag/4.9.1) or Kirby 5.4.1 (https://github.com/getkirby/kirby/releases/tag/5.4.1), or any later release, which add writer-field-style HTML sanitization to the list field update handler. Until you can patch, the practical compensating controls are to remove the list field and list block from all blueprints (this disables the vulnerable authoring path but breaks any existing list-based content and editing workflows), and to restrict list-field update permission to fully trusted users only via blueprint/role permissions, since untrusted authenticated editors are the required attacker. Because the payload can be injected directly through Kirby's API rather than the Panel UI, front-end-only filtering is insufficient; where feasible, add output-side HTML sanitization or a strict Content-Security-Policy in your templates to reduce script execution, accepting that CSP tuning may block legitimate inline scripts. See advisory GHSA-5fhx-9q32-q257 for details.

Affected Packages

composer getkirby/cms fix: 4.9.1, 5.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kirby is a PHP-based flat-file CMS whose Panel authoring interface offers a 'list field' (and a 'list' block within the blocks field) that stores its formatted output as raw HTML rather than escaped markup, since escaping would destroy the intended formatting. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the backend update path that persists list field content to the content file performed no HTML sanitization, so hostile markup submitted directly to the API survived into stored content and into template rendering. The fix applies the same HTML sanitization already used by Kirby's writer field. Affected packages are identified by CPE pkg:composer/getkirby_cms, i.e. the Composer-distributed getkirby/cms package.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/getkirby/kirby) PRIMARY 8.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.7 HIGH

Authenticated low-priv editor injects via API (PR:L, AC:L); victim must load frontend page (UI:R); stored XSS crosses into victims' sessions (S:C) with high C/I and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/getkirby/kirby).

CVSS VectorVendor: https://github.com/getkirby/kirby

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Jul 16, 2026 - 22:30 vuln.today
v2 - CVSS changed
CVSS changed
Jul 16, 2026 - 22:22 NVD
8.5 (HIGH)

DescriptionCVE.org

TL;DR

This vulnerability affects all Kirby sites that use the list field or list block, when content is authored by users who may not be fully trusted. The attack requires an authenticated Panel user with update permission to any list field or list block.

This vulnerability is of high severity for affected sites.

Kirby sites are *not* affected if they don't use the list field (or blocks field with the list block) in any of their blueprints, or if every user who can edit content is fully trusted. The attack only surfaces in the site frontend (i.e. in the consuming project's templates). The Panel itself is unaffected and will not execute JavaScript that was injected into list field content.

----

Introduction

Cross-site scripting (XSS) is a type of vulnerability that allows to execute any kind of JavaScript code inside the site frontend or Panel session of the same or other users. In the Panel, a harmful script can for example trigger requests to Kirby's API with the permissions of the victim.

In a *stored* XSS attack, the malicious payload is saved into the content data and has the potential to affect other users or site visitors.

Such vulnerabilities are critical if applications might have potential attackers in their group of authenticated Panel users. They can escalate their privileges if they get access to the Panel session of an admin user. Depending on the site, other JavaScript-powered attacks are possible.

A specific class of stored XSS is auto-firing, meaning the malicious injected JavaScript code is executed by the browser when the page loads without the victim having to perform a specific action.

Affected components

Kirby's list field stores its formatted content as HTML code. Unlike with other field types, it is not possible to escape HTML special characters against cross-site scripting (XSS) attacks, otherwise the formatting would be lost.

Impact

In affected releases, Kirby did not securely sanitize the contents of list fields on save. This allowed attackers to inject malicious HTML code into the content file by sending it to Kirby's API directly without using the Panel. This malicious HTML code would then be displayed on the site frontend and executed in the browsers of site visitors and logged in users who are browsing the site.

Patches

The problem has been patched in Kirby 4.9.1 and Kirby 5.4.1. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, Kirby has added HTML sanitization (like in the writer field) to the backend code that handles updates to the contents of list fields.

Credits

Kirby thanks @offset for responsibly reporting the identified issue.

Executive ViewAI

Why It Matters

Kirby CMS versions prior to 4.9.1 and 5.4.1 contain a stored cross-site scripting vulnerability allowing authenticated Panel users with update permissions to inject malicious scripts executed in visitors' browsers. An attacker could exploit this to steal user data, deface website content, or distribute malware through affected front-end pages and to other logged-in administrators.

Business Impact: High
Compensating Controls

Vendor-released patch: Kirby CMS version 4.9.1 (branch 4) and 5.4.1 (branch 5).

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Medium
popular open-source PHP CMS, but niche versus WordPress-scale platforms
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

pkg:composer/getkirby_cms
pkg:composer/getkirby_cms

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy