Vulnerabilities / Kirki / WPSEC-2026-4096

Kirki <= 6.4.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Link 'href' in Converted Post Content

Medium 5.4 CWE-79Fixed in 6.4.4
ID
WPSEC-2026-4096
Plugin
Kirki – Freeform Page Builder, Website Builder & Customizer (kirki)
Affected
from 6.0.0 before 6.4.4
Remediation
Update to 6.4.4 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
Attack surface
Kirki on WPSec AttackSurface
Fix released
Published

Description

The Kirki plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the href of Link Text elements in versions 6.0.0 up to, and including, 6.4.3, due to the link URL being written unescaped into a single-quoted href attribute. When an editor or administrator converts a post to Kirki, the post's links are copied into Kirki element data with their single quotes intact. This makes it possible for authenticated attackers, with contributor-level access and above, to place a link in a post that injects arbitrary web scripts once the post is converted; they execute whenever a user accesses the converted page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0