# Kirki – Freeform Page Builder, Website Builder & Customizer <= 6.3.2 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure via Collection Rendering 'context' Parameter

- **ID:** WPSEC-2026-0898
- **Plugin:** Kirki – Freeform Page Builder, Website Builder & Customizer (`kirki`), https://wordpress.org/plugins/kirki/
- **Affected versions:** from 6.0.0 before 6.4.0
- **Fixed in:** 6.4.0 (Update to 6.4.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/kirki
- **Fix released:** 2026-10-13
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0898/

## Description

The Kirki plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'context' parameter of the frontend collection REST endpoint (kirki/v1/frontend/collection) in all versions up to, and including, 6.3.2. The permission check validates only the context 'type' and 'id', but the whole user-supplied context array is then merged into the render options, after the objects the check resolved. This makes it possible for unauthenticated attackers to send a context of a type that is allowed without restriction, such as 'term', carrying an extra 'user' key. That skips the list_users check for user contexts and renders a collection's user dynamic fields, such as email address, display name and user meta, for any user ID.

## References

- https://wpsec.com/vuln/WPSEC-2026-0898/
- https://plugins.svn.wordpress.org/kirki/tags/6.4.0/
- https://wordpress.org/plugins/kirki/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0898/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
