Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Subscriber-level user
-
DeliveryTamper hidden Gravity Forms role field to administrator
-
ExploitSubmit $0 order marked SUCCESS
-
Executionmaybe_update_user_role calls set_role unvalidated
-
PersistAccount elevated to administrator
-
ImpactFull site takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Knit Pay plugin (<=9.6.1.0) installed alongside Gravity Forms, with a Knit Pay Gravity Forms feed configured so that user_role_field_id points to a form field controlling the assigned role. The attacker must be authenticated at Subscriber level or above and submit the target form, tampering with the hidden role field. Exploitation is aided by the plugin marking $0 orders as SUCCESS synchronously at submission (no payment needed) and by the role-assignment fallback to $lead['created_by'] (the submitter's own user ID), which makes any authenticated form submitter a valid target. Limiting factors: the vulnerable role-field feed configuration is not a default setup, and low-privileged authentication is required (PR:L, not unauthenticated). |
| Impact | This is a genuine high-priority issue, not a high-CVSS-but-low-real-risk case. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8) is internally consistent with the described flaw: an authenticated Subscriber-level user can reach an unvalidated WP_User::set_role() call over the network and become administrator, yielding full site compromise (C:H/I:H/A:H). The one gating factor CVSS does not capture is that the site must run Gravity Forms with a Knit Pay feed configured to use a user_role_field_id - a specific, non-default deployment. No EPSS score, no CISA KEV listing, and no public POC are present in the input, so there is no evidence of active or automated exploitation yet; the signals are: real, easy-to-exploit privilege escalation where the prerequisite exists, but a limited install/config footprint. The Wordfence source and linked trac code lines (Extension.php L381/L384/L989, Processor.php L493) corroborate the mechanism. Absence of EPSS/KEV/POC is not a contradiction here - it reflects a recently disclosed, vendor/researcher-reported flaw rather than one conflicting signal against another. |
| Exploit ScenarioDerived | An attacker registers or already holds a Subscriber account on a WordPress site running Knit Pay with a Gravity Forms feed that maps a form field to user roles. They submit the payment form with the hidden role field tampered to 'administrator'; because $0 orders are marked SUCCESS synchronously at submission (no real payment) and the role assignment falls back to their own user ID, the attacker is promoted to administrator. No public exploit code is identified at time of analysis, but the technique is straightforward request tampering. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Privilege escalation in the Knit Pay WordPress plugin through 9.6.1.0 lets an authenticated attacker with Subscriber-level access and above promote their own account to administrator by tampering with the hidden role field of a Gravity Forms submission. The flaw requires the plugin's Gravity Forms integration to be active and a feed configured so that user_role_field_id points at a form field; the plugin then passes that attacker-controlled value directly to WP_User::set_role() with no allowlist validation, and the process is further helped by $0 orders being marked SUCCESS synchronously at submission and by the role-assignment fallback to $lead['created_by'], the submitter's own user ID. At time of analysis no public exploit code or CISA KEV entry was identified, but with CVSS 8.8 and an authenticated low-privilege prerequisite, this is a high-priority issue for any site running the vulnerable plugin together with a configured Gravity Forms feed.
RemediationAI
The primary fix is to update the Knit Pay plugin beyond the vulnerable 9.6.1.0 release; the supplied reference https://plugins.trac.wordpress.org/changeset?reponame=&old=3706862%40knit-pay&new=3706862%40knit-pay points to the upstream changeset containing the code change, so upgrading to the first release that incorporates that changeset resolves the issue, and administrators should verify the plugin changelog rather than assume 9.6.1.0 is the fixed version. If an immediate upgrade is not possible, remove or disable the Gravity Forms user-registration feed that maps user_role_field_id to a form field, since without that feed the vulnerable role-assignment path is not reached; the trade-off is that legitimate automatic role assignment for that form stops working. As an additional compensating control, restrict role fields to a fixed, non-privileged value in the feed configuration and review the entry field's form settings to ensure the hidden role field cannot be altered at submission time. Sites should also confirm whether the deployment actually pairs Knit Pay with Gravity Forms and the User Registration add-on - installations that do not use that combination are not on the vulnerable path. Review the advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/ee5df686-7bf8-42cc-9356-92570bd02355?source=cve for vendor guidance, and audit existing user accounts for unexpected administrator roles assigned after the vulnerable plugin was in use.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-269 improper privilege management flaw in the WordPress plugin Knit Pay (CPE cpe:2.3:a:knitpay:knit_pay_-_cashfree,_instamojo,_razorpay,_paypal_and_more), specifically in its Gravity Forms payment/registration extension. The vulnerable path in packages/wp-pay-extensions/gravityforms/src/Extension.php (roughly lines 381-384 and 989) and Processor.php line 493 reads a target WordPress role from a Gravity Forms entry field whose ID is supplied by the feed configuration key user_role_field_id, and hands that value to WP_User::set_role() without checking it against a list of roles the submitting user is permitted to assign. WordPress stores roles such as subscriber, editor and administrator as capabilities metadata on the user object, so an unchecked set_role() call is a direct route from a low-privilege account to full site administration. The plugin's order flow compounds the issue: orders totalling $0 are synchronously marked SUCCESS during form submission without any real payment confirmation, and when the Gravity Forms User Registration add-on cannot resolve a target user, the code falls back to $lead['created_by'], the currently authenticated submitter, so the attacker's own account becomes the assignment target. Exploitation therefore depends on the plugin being installed alongside Gravity Forms with a Knit Pay feed whose user_role_field_id points at a role field - a non-default configuration, but one that is plausible on membership or registration sites.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable form submission by any Subscriber+ (PR:L, AV:N, UI:N) yields administrator role and full site control, so C:H/I:H/A:H; AC:L as tampering is trivial once the feed is configured.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Knit Pay - Cashfree, Instamojo, Razorpay, PayPal and more plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 9.6.1.0. This is due to the maybe_update_user_role() function reading the target role directly from an attacker-controlled Gravity Forms entry field - configured via the feed's user_role_field_id - and passing it to WP_User::set_role() without validating the supplied value against an allowlist of permitted roles. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges to administrator by tampering with the hidden role field value at form submission time. Exploitation is further enabled by the fact that $0 orders are synchronously marked as SUCCESS during form submission without requiring a real payment, and when no GF User Registration user can be resolved, the role assignment target falls back to $lead['created_by'] - the currently authenticated submitter's own user ID - making any authenticated form submitter an eligible exploitation target.
Articles & Coverage 1
Executive ViewAI
The Knit Pay WordPress plugin (through version 9.6.1.0) contains a privilege escalation vulnerability that allows a low-privileged user to elevate their account to administrator, requiring the plugin's Gravity Forms integration to be active and configured with a specific feed. This could lead to full site takeover, including data theft, defacement, or further compromise of the hosting environment, affecting any organization running the vulnerable plugin in that configuration. No public exploit identified at time of analysis, but given the high CVSS score of 8.8 and the potential for complete administrative control, immediate action is warranted.
Disable the Gravity Forms integration or the specific feed configured with user_role_field_id; restrict Subscriber-level accounts and monitor for unauthorized role changes; implement WAF rules to block tampering with hidden form fields; audit user roles regularly.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-86579
GHSA-mhvq-rh33-27cf
NVD
CVE.org
EPSS
Exploit-DB