# CVE-2026-6228: DynamiApps Frontend Admin privilege escalation in role update mechanism

Source: https://junglewise.ai/threats/cve-2026-6228-dynamiapps-frontend-admin-privilege-escalation-in-role-update  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-15. Updated: 2026-05-15  
License: CC BY 4.0 with a link back

CVE-2026-6228 · Severity: high · CVSS 8.8 · Published 2026-05-15

The Frontend Admin plugin for WordPress, which allows site owners to create custom forms for user management, contains a security flaw that allows users to upgrade their own account permissions. By manipulating how user-edit forms are created, an attacker with basic access can grant themselves full administrative control over the website. This could lead to a complete site takeover, data theft, or the installation of malicious software.

Technologies: [DynamiApps Frontend Admin](https://junglewise.ai/threats/technologies/frontend-admin). Vendors: [DynamiApps](https://junglewise.ai/threats/vendors/dynamiapps).

## Quick answers

**Is CVE-2026-6228 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6228 being exploited in the wild.

**How severe is CVE-2026-6228?** High severity, with a CVSS score of 8.8, published 15 May 2026.

**Which products and versions are affected?** DynamiApps Frontend Admin up to and including 3.28.36.

**Is there a fix for CVE-2026-6228?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-6228 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-6228?** Check whether you run DynamiApps Frontend Admin at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability stems from insufficient authorization checks in the 'role' field update mechanism combined with overly permissive capabilities for the 'admin_form' custom post type. The 'admin_form' post type uses 'capability_type' => 'page', allowing users with Editor-level permissions to create and modify forms. An attacker can bypass UI restrictions in feadmin_get_user_roles() by submitting direct POST data to wp-admin/post.php to include 'administrator' in the 'role_options' array. The pre_update_value() function in class-role.php subsequently fails to verify if the current user has the authority to assign the 'administrator' role, validating only that the role exists in the form's options. This allows an attacker to register as a lower-level user (if public registration is enabled) and escalate their privileges to Administrator.

## Affected products

- DynamiApps Frontend Admin by DynamiApps up to and including 3.28.36

## Timeline

- 2026-05-15: disclosed
- 2026-05-15: advisory

## References

- [https://plugins.trac.wordpress.org/browser/acf-frontend-form-element/trunk/main/admin/admin-pages/forms/post-types.php](https://plugins.trac.wordpress.org/browser/acf-frontend-form-element/trunk/main/admin/admin-pages/forms/post-types.php)
- [https://plugins.trac.wordpress.org/browser/acf-frontend-form-element/trunk/main/frontend/fields/user/class-role.php](https://plugins.trac.wordpress.org/browser/acf-frontend-form-element/trunk/main/frontend/fields/user/class-role.php)
- [https://plugins.trac.wordpress.org/browser/acf-frontend-form-element/trunk/main/frontend/forms/actions/user.php](https://plugins.trac.wordpress.org/browser/acf-frontend-form-element/trunk/main/frontend/forms/actions/user.php)
- [https://plugins.trac.wordpress.org/changeset/3519460](https://plugins.trac.wordpress.org/changeset/3519460)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/083accd0-8338-47c6-b396-96679b95dd40?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/083accd0-8338-47c6-b396-96679b95dd40?source=cve)

## Related threats

- [DynamiApps Frontend Admin stored XSS vulnerability](https://junglewise.ai/threats/cve-2026-119504-improper-neutralization-of-input-during-web-page-generation)
- [DynamiApps Frontend Admin privilege escalation in acf-frontend-form-element](https://junglewise.ai/threats/cve-2026-119506-incorrect-privilege-assignment-vulnerability-in-dynamiapps)
- [Frontend Admin by DynamiApps SQL injection](https://junglewise.ai/threats/cve-2026-42722-administrator-sql-injection-in-frontend-admin-by-dynamiapps-3-29)
- [Frontend Admin by DynamiApps stored XSS via kses bypass](https://junglewise.ai/threats/cve-2026-6243-the-frontend-admin-by-dynamiapps-plugin-for-wordpress-is)
- [DynamiApps Frontend Admin authentication bypass to account takeover](https://junglewise.ai/threats/cve-2026-75816-dynamiapps-frontend-admin-authentication-bypass-to-account)
