Description
The Kirki – Freeform Page Builder, Website Builder & Customizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via registration metadata in all versions up to, and including, 6.3.1 This is due to insufficient escaping in `ExceptionalElements::image_element()`, which concatenates a user-meta value straight into an `<img src="…">` attribute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute whenever a user accesses a page rendering a Kirki users collection whose image element is bound to one of the nine registration meta fields. Requires public user registration to be enabled and a published page carrying a `kirki-register` element, which prints the required element nonce into the public markup.
Published: 2026-10-07
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in the Kirki plugin allows an unauthenticated attacker to store malicious JavaScript code in the user registration metadata. When a page renders a Kirki image element that references one of the nine registration meta fields, the unsanitized value is concatenated directly into an img src attribute, causing the injected script to run in the browser of any visitor. This leads to a classic stored XSS impact: arbitrary code execution in the context of the site, with potential for session hijacking, credential theft, defacement, or further phishing attacks.

Affected Systems

The issue affects all WordPress installations that use the themeum Kirki – Freeform Page Builder, Website Builder & Customizer plugin version 6.3.1 or earlier. No other products are listed as vulnerable.

Risk and Exploitability

The CVSS score of 7.2 indicates moderate‑to‑high severity, and the vulnerability is publicly exploitable because it requires only a public user registration to be enabled and a page that contains a kirki-register element to be accessible. Although EPSS data is not available, the lack of a KEV listing suggests the exploit is not yet widely observed, but the vector remains valid and straightforward for automated exploitation. The risk therefore remains significant for any site that has turned on public registration and publishes pages with Kirki elements.

Generated by OpenCVE AI on October 7, 2026 at 06:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Kirki plugin to version 6.3.2 or later, which removes the unsanitized image_element functionality.
  • If an upgrade cannot be performed immediately, disable public user registration to eliminate the injection surface presented by the vulnerability.
  • As a temporary measure, apply custom code to escape or sanitize the registration metadata before it is inserted into the <img> element, for example by hooking into the rendering function or by overriding ExceptionalElements::image_element().

Generated by OpenCVE AI on October 7, 2026 at 06:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
Description The Kirki – Freeform Page Builder, Website Builder & Customizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via registration metadata in all versions up to, and including, 6.3.1 This is due to insufficient escaping in `ExceptionalElements::image_element()`, which concatenates a user-meta value straight into an `<img src="…">` attribute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute whenever a user accesses a page rendering a Kirki users collection whose image element is bound to one of the nine registration meta fields. Requires public user registration to be enabled and a published page carrying a `kirki-register` element, which prints the required element nonce into the public markup.
Title Kirki – Freeform Page Builder, Website Builder & Customizer <= 6.3.1 - Unauthenticated Stored Cross-Site Scripting via Registration Metadata
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-07T05:30:40.929Z

Reserved: 2026-09-28T17:50:55.129Z

Link: CVE-2026-102173

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-07T06:16:33.217

Modified: 2026-10-07T06:16:33.217

Link: CVE-2026-102173

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T06:30:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')