Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-14572 Overview
CVE-2026-14572 is a Stored Cross-Site Scripting (XSS) vulnerability in the Kirki – Freeform Page Builder, Website Builder & Customizer plugin for WordPress. The flaw affects all versions up to and including 6.2.0. The vulnerability stems from insufficient input sanitization and output escaping in Page Builder Text Content handling. Authenticated users granted the kirki_content_access capability can inject arbitrary JavaScript into pages. The injected scripts execute in the browser of any user who views the affected page. The issue is tracked under CWE-79 and was addressed in Kirki version 6.2.1.
Critical Impact
Authenticated attackers with kirki_content_access capability can inject persistent JavaScript that executes against site visitors and administrators, enabling session theft, account takeover, and content defacement.
Affected Products
- Kirki – Freeform Page Builder, Website Builder & Customizer plugin for WordPress
- All versions up to and including 6.2.0
- Fixed in version 6.2.1
Discovery Timeline
- 2026-10-15 - CVE-2026-14572 published to NVD
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2026-14572
Vulnerability Analysis
The Kirki plugin exposes a Page Builder feature that stores user-supplied text content and renders it on the front end. The plugin fails to properly sanitize input on write and does not escape output on render. As a result, HTML and JavaScript payloads submitted through text content fields are stored intact in the WordPress database. When any visitor loads an affected page, the browser parses and executes the attacker-controlled script in the context of the site's origin.
The vulnerability is classified as Stored XSS [CWE-79], which carries greater impact than reflected XSS because the payload persists and triggers on every page view. Exploitation requires authentication and the kirki_content_access capability, which must be explicitly granted by a site administrator. The scope change in the CVSS vector reflects that the injected script can affect users beyond the attacker's own security context.
Root Cause
The root cause is missing input sanitization combined with absent output escaping in the Page Builder text content rendering path. The upstream fix is visible in the WordPress Kirki Preview Changeset, which modifies the Preview.php frontend file to properly escape rendered content.
Attack Vector
An authenticated attacker with the kirki_content_access capability edits or creates a page using the Kirki Page Builder. The attacker embeds a JavaScript payload inside a text content block. The payload is saved to the database without sanitization. When an administrator or site visitor loads the page, the browser executes the stored script. Attackers can use this to steal session cookies, perform actions on behalf of administrators, redirect visitors to attacker-controlled infrastructure, or inject cryptominers and skimmers.
No verified public exploit code is available for CVE-2026-14572. Technical details are described in the Wordfence Vulnerability Analysis.
Detection Methods for CVE-2026-14572
Indicators of Compromise
- Unexpected <script> tags, javascript: URIs, or event handler attributes (onerror, onload, onclick) stored in Kirki Page Builder text content fields within the wp_posts or related plugin tables.
- Outbound HTTP requests from visitor browsers to unknown third-party domains originating from pages built with Kirki.
- Unexplained administrator session activity or new privileged user accounts created shortly after a page edit by a user with kirki_content_access.
Detection Strategies
- Audit all WordPress users granted the kirki_content_access capability and review recent page edits made by non-administrator accounts.
- Query the WordPress database for Kirki-managed content containing suspicious tokens such as <script, onerror=, or javascript:.
- Enable WordPress audit logging to capture page create and update events, and correlate against the installed Kirki plugin version.
Monitoring Recommendations
- Deploy a Content Security Policy (CSP) with reporting enabled to surface inline script execution attempts on front-end pages.
- Monitor web server access logs for anomalous POST requests to Kirki Page Builder endpoints under /wp-admin/.
- Alert on changes to the installed Kirki plugin version and verify the running version is 6.2.1 or later.
How to Mitigate CVE-2026-14572
Immediate Actions Required
- Upgrade the Kirki plugin to version 6.2.1 or later on all WordPress installations.
- Review and revoke the kirki_content_access capability from any user who does not strictly require Page Builder editing rights.
- Inspect existing Kirki-managed pages for stored script payloads and remove or sanitize any suspicious content.
Patch Information
The vendor released a fix in Kirki version 6.2.1. The code change is published in the WordPress Kirki Version Update and the specific escaping fix is in Preview.php changeset 3636487.
Workarounds
- If immediate patching is not possible, remove the kirki_content_access capability from all non-administrator roles until the plugin is upgraded.
- Deploy a Web Application Firewall (WAF) rule that blocks requests containing script tags or event handler attributes targeting Kirki Page Builder editor endpoints.
- Enforce a strict Content Security Policy that disallows inline scripts (script-src 'self') on front-end pages rendered by Kirki.
# Upgrade Kirki plugin to the fixed version via WP-CLI
wp plugin update kirki --version=6.2.1
# Verify installed version
wp plugin get kirki --field=version
# List users with the kirki_content_access capability for review
wp user list --role=editor --fields=ID,user_login,roles
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

