CVE-2026-54002: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getkirby kirby
Kirby is an open-source content management system. Prior to 4.9.4 and 5.4.4, Kirby sites and plugins that use the writer or list fields or call Dom::sanitize(), Sane::sanitize(), Sane::Html::sanitize(), Sane::Svg::sanitize(), Sane::Xml::sanitize(), Sane::sanitizeFile(), or file sanitizeContents() with untrusted input allow malicious markup injected as children of an unknown HTML or XML tag to pass through Dom::sanitize() without being correctly sanitized, causing stored cross-site scripting. This issue is fixed in versions 4.9.4 and 5.4.4.
AI Analysis
Technical Summary
CVE-2026-54002 is a stored cross-site scripting vulnerability in the Kirby CMS affecting versions before 4.9.4 and 5.4.4. The flaw occurs because the sanitization functions Dom::sanitize(), Sane::sanitize(), Sane::Html::sanitize(), Sane::Svg::sanitize(), Sane::Xml::sanitize(), Sane::sanitizeFile(), and file sanitizeContents() fail to correctly sanitize malicious markup injected as children of unknown HTML or XML tags. This improper neutralization of input during web page generation (CWE-79) allows stored XSS attacks via the writer or list fields or when these sanitization functions are called with untrusted input. The vulnerability is addressed by fixes in Kirby versions 4.9.4 and 5.4.4.
Potential Impact
Successful exploitation allows attackers to inject stored malicious scripts into Kirby sites or plugins that use affected fields or sanitization functions. This can lead to execution of arbitrary scripts in the context of users' browsers, potentially resulting in session hijacking, defacement, or other malicious actions. The CVSS 4.0 score of 8.5 (high severity) reflects the network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality and integrity.
Mitigation Recommendations
Upgrade affected Kirby installations to version 4.9.4 or 5.4.4 or later, where the vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor advisory stating the issue is fixed in these versions.
CVE-2026-54002: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getkirby kirby
Description
Kirby is an open-source content management system. Prior to 4.9.4 and 5.4.4, Kirby sites and plugins that use the writer or list fields or call Dom::sanitize(), Sane::sanitize(), Sane::Html::sanitize(), Sane::Svg::sanitize(), Sane::Xml::sanitize(), Sane::sanitizeFile(), or file sanitizeContents() with untrusted input allow malicious markup injected as children of an unknown HTML or XML tag to pass through Dom::sanitize() without being correctly sanitized, causing stored cross-site scripting. This issue is fixed in versions 4.9.4 and 5.4.4.
CVSS v4.0
Score 8.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54002 is a stored cross-site scripting vulnerability in the Kirby CMS affecting versions before 4.9.4 and 5.4.4. The flaw occurs because the sanitization functions Dom::sanitize(), Sane::sanitize(), Sane::Html::sanitize(), Sane::Svg::sanitize(), Sane::Xml::sanitize(), Sane::sanitizeFile(), and file sanitizeContents() fail to correctly sanitize malicious markup injected as children of unknown HTML or XML tags. This improper neutralization of input during web page generation (CWE-79) allows stored XSS attacks via the writer or list fields or when these sanitization functions are called with untrusted input. The vulnerability is addressed by fixes in Kirby versions 4.9.4 and 5.4.4.
Potential Impact
Successful exploitation allows attackers to inject stored malicious scripts into Kirby sites or plugins that use affected fields or sanitization functions. This can lead to execution of arbitrary scripts in the context of users' browsers, potentially resulting in session hijacking, defacement, or other malicious actions. The CVSS 4.0 score of 8.5 (high severity) reflects the network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality and integrity.
Mitigation Recommendations
Upgrade affected Kirby installations to version 4.9.4 or 5.4.4 or later, where the vulnerability is fixed. No other official remediation or temporary fixes are indicated. Patch status is confirmed by the vendor advisory stating the issue is fixed in these versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-11T16:34:11.635Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4ff3f768715ace43ecf644
Added to database: 07/09/2026, 19:18:15 UTC
Last enriched: 07/09/2026, 19:32:43 UTC
Last updated: 07/09/2026, 20:03:06 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.