Kirki – Freeform Page Builder, Website Builder & Customizer <= 6.3.1 - Unauthenticated Stored Cross-Site Scripting via Registration Metadata
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- themeum Kirki – Freeform Page Builder, Website Builder & Customizer
through 6.3.1
References 11
plugins.trac.wordpress.org
- browser/kirki/tags/6.3.1/includes/Frontend/Preview/ExceptionalElements.php#L1184
- browser/kirki/tags/6.3.1/includes/Frontend/Preview/ExceptionalElements.php#L1079
- browser/kirki/tags/6.3.1/includes/HelperFunctions.php#L1151
- browser/kirki/tags/6.3.1/ComponentLibrary/controller/CompLibFormHandler.php#L361
- browser/kirki/tags/6.3.1/ComponentLibrary/controller/CompLibFormHandler.php#L389
- browser/kirki/tags/6.3.1/ComponentLibrary/controller/CompLibFormHandler.php#L76
- browser/kirki/tags/6.3.1/ComponentLibrary/controller/ElementGenerator.php#L259
- browser/kirki/tags/6.3.1/includes/Frontend/Preview/Utils.php#L308
- changeset?reponame=&new=3718900%40kirki%2Ftags%2F6.3.2&old=3697265%40kirki%2Ftags%2F6.3.1
- changeset/3718900/kirki/trunk/includes/Frontend/Preview/ExceptionalElements.php