Description
The Kirki WordPress plugin before 6.3.2 does not prevent shortcodes held in comments from being executed when it renders them, and displays comments regardless of their moderation status, allowing unauthenticated visitors to run shortcodes registered on the site and to read private custom fields of the page being viewed.
Published: 2026-10-09
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Arbitrary Shortcode Execution and Sensitive Data Exposure
Action: Immediate Patch
AI Analysis

Impact

The Kirki WordPress plugin contains a flaw that allows unauthenticated users to trigger the execution of any shortcode present on the site via comments. Because the plugin renders comments without validating moderation status and does not strip or escape shortcode tags, an attacker can embed a shortcode in a comment and cause it to execute on page render. Shortcodes can run arbitrary PHP code, so this flaw leads to remote code execution. Additionally, the plugin displays comments regardless of moderation, leaking private custom fields from the viewed page. This vulnerability is prototypical of Improper Access Control (CWE-284) and Information Exposure (CWE-200).

Affected Systems

The affected product is the Kirki plugin for WordPress, versions earlier than 6.3.2. Site owners should verify the installed plugin version and upgrade to 6.3.2 or later, which contains the remediation that blocks shortcode execution from comments and respects comment moderation.

Risk and Exploitability

The CVSS base score for this issue is 4.8, indicating a medium severity. The EPSS score is unavailable, but the lack of authentication makes the attack vector public and the ability to craft a comment easily. The vulnerability is not yet flagged in the CISA KEV catalog. An attacker could simply post a comment containing a malicious shortcode, resulting in execution of registered code or exposure of sensitive fields when the page loads. The risk is heightened on sites with many active shortcodes or sensitive custom metadata.

Generated by OpenCVE AI on October 9, 2026 at 09:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Kirki plugin to version 6.3.2 or newer.
  • Restrict comment publishing to authenticated users or enforce moderation to prevent unfiltered shortcodes from being displayed.
  • Configure the plugin or add a filter that strips shortcodes from comment content before rendering.

Generated by OpenCVE AI on October 9, 2026 at 09:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-284

Fri, 09 Oct 2026 08:45:00 +0000

Type Values Removed Values Added
Description The Kirki WordPress plugin before 6.3.2 does not prevent shortcodes held in comments from being executed when it renders them, and displays comments regardless of their moderation status, allowing unauthenticated visitors to run shortcodes registered on the site and to read private custom fields of the page being viewed.
Title Kirki < 6.3.2 - Unauthenticated Arbitrary Shortcode Execution via Comments Collection
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-09T08:08:04.316Z

Reserved: 2026-09-01T11:50:22.082Z

Link: CVE-2026-84220

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-09T09:17:09.857

Modified: 2026-10-09T09:17:09.857

Link: CVE-2026-84220

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T09:30:03Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-284

    Improper Access Control