Description
The Kirki - Freeform Page Builder, Website Builder & Customizer plugin for WordPress is vulnerable to Unauthorized Data Access in versions up to, and including, 6.4.1 via the `kirki_post_apis` AJAX action's `get-dynamic-content-batch` and `get-collection-batch` endpoints. This is due to the plugin opening these resolvers behind a site-wide, resource-unbound preview token (`EditorPreview::has_valid_token()`) that is NOT bound to the specific page the administrator intended to share, combined with the absence of any `list_users` or `can_user_read_post()` capability check inside `HelperFunctions::get_user_dynamic_content()` and `Collection::get_collection_batch()` — the equivalent checks ARE present on the plugin's own REST route (`FrontendRESTController::get_item_permissions_check()`). This makes it possible for unauthenticated attackers holding any valid read-only share link to extract from the entire user table every user's `user_email`, `first_name`, `last_name`, `nickname`, `registered_date`, arbitrary string-valued `user_meta` (including custom keys such as `billing_phone`), and the e-mail address of every approved commenter — information that WordPress itself withholds from anonymous readers (served only in the `edit` context behind `list_users`).
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
themeum Kirki – Freeform Page Builder, Website Builder & Customizer
Default version status: unaffected
0 to ≤ 6.4.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/60c1185d-3412-4b51-8bb7-8c6f79c5f580?source=cve ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/Ajax.php#L121 ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/HelperFunctions.php#L3368 ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/Ajax/DynamicContent.php#L135 ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/HelperFunctions.php#L1100 ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/Ajax/DynamicContent.php#L103 ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/Ajax.php#L59 ↗
- https://plugins.trac.wordpress.org/browser/kirki/tags/6.4.1/includes/Ajax/Collection.php#L147 ↗
- https://wordpress.org/plugins/kirki/#developers ↗
- https://plugins.trac.wordpress.org/changeset/3793913/kirki/trunk/includes/HelperFunctions.php ↗