Stripe Payment Forms by WP Full Pay
CVE-2026-77789
Cross-customer subscription modification
Medium, 4.3 · Public source snapshot: November 12, 2026
Original portfolio report · Source reference · Source reference · Public advisory · CVE record
Shared credits and the scope of my investigation are documented below.
Mallory begins with her own confirmed WP Full Pay customer-portal session. By replacing the subscription identifier in a subscription-management request with Alice's identifier, Mallory can ask a vulnerable site to cancel, reactivate, or change Alice's subscription. The handler accepts Mallory's valid WPFS_CARD_UPDATE_SESSION_ID, but version 8.5.0 does not verify that the requested Stripe subscription belongs to the customer recorded in that session. This is an object-ownership failure; it does not require stealing Alice's session or compromising Stripe.
WPScan assigns CVE-2026-77789, CWE-639, and a Medium 4.3 CVSS score. Its public record lists all versions before 8.5.1 as affected and 8.5.1 as fixed. I inspected the official WordPress release archives for 8.5.0 and 8.5.1 and reviewed WPScan's now-public proof of concept. That source review confirms the missing ownership comparison in 8.5.0 and the shipped check in 8.5.1; I did not send the state-changing request to a live Stripe account.
| Field | Public record and reviewed evidence |
|---|---|
| Identifier | CVE-2026-77789 |
| Component | Stripe Payment Forms by WP Full Pay customer portal |
| Weakness | CWE-639 — Authorization Bypass Through User-Controlled Key |
| Severity | Medium, CVSS 4.3 |
| Required attacker position | A valid, confirmed customer-portal session for the same WP Full Pay site |
| Affected versions | WPScan: versions before 8.5.1; 8.5.0 directly inspected |
| Fixed version | 8.5.1, directly inspected |
| Demonstrated boundary crossing | One portal customer can target a different customer's Stripe subscription |
WP Full Pay exposes a WordPress REST route under /wp-json/wp-full-stripe/v1/manage-subscriptions/subscription/{id} for customer-portal subscription changes. The route's WordPress permission_callback returns true, so the handler itself enforces portal authentication using the WPFS_CARD_UPDATE_SESSION_ID cookie. A portal session is accepted only after its stored status becomes confirmed.
For this report:
- Alice owns a Stripe subscription identified as
sub_alice_example. - Mallory owns a separate customer account and completes the normal portal confirmation flow, receiving her own
WPFS_CARD_UPDATE_SESSION_IDcookie. - The expected policy is that Mallory's session may change only subscriptions whose Stripe
customerequals thestripeCustomerIdstored in Mallory's confirmed session.
The security boundary is therefore not merely possession of a valid portal cookie. It is the binding between that cookie's customer identity and each requested subscription object.
In version 8.5.0, includes/wpfs-customer-portal-service.php, handleSubscriptionUpdateRequest() takes the subscription ID directly from the request JSON. The cancel branch authenticates the cookie and retrieves the customer represented by that session, but then passes the independently controlled subscription ID to the database and Stripe operations:
$stripeSubscriptionId = sanitize_text_field($updatedSubscription['id']);
$cardUpdateSession = $this->findCustomerPortalSessionByHash($cardUpdateSessionHash);
if (!is_null($cardUpdateSession) && $this->isConfirmed($cardUpdateSession)) {
$stripeCustomer = $this->stripe->retrieveCustomer($cardUpdateSession->stripeCustomerId);
if (isset($stripeCustomer)) {
$this->cancelSubscriptionInDatabase($stripeSubscriptionId);
$this->stripe->cancelSubscription($stripeCustomer->id, $stripeSubscriptionId, $cancelAtPeriodEnd);
}
}
This code establishes only that Mallory has a confirmed session and that the session's customer exists. It never retrieves sub_alice_example and compares that subscription's customer field with Mallory's stripeCustomerId before changing state. The activate and plan/quantity branches repeat the same separation between the authenticated customer and the request-selected subscription.
The public PoC supplies the victim subscription ID in the route and JSON body. The body is the material attacker-controlled value in handleSubscriptionUpdateRequest(): it becomes $stripeSubscriptionId, which reaches the cancellation, activation, or plan-change operation without an ownership decision in 8.5.0.
Version 8.5.1 fixes the boundary in the same file and function. Before the cancel operation, it retrieves the selected subscription and rejects a customer mismatch:
$subscription = $this->stripe->retrieveSubscriptionWithParams($stripeSubscriptionId, $subscriptionParams);
$subscriptionCustomerId = (is_object($subscription) && isset($subscription->customer)) ? $subscription->customer : null;
if ($subscriptionCustomerId !== $cardUpdateSession->stripeCustomerId) {
return new WP_Error(
'wpfs_customer_portal_forbidden',
__('Unauthorized', 'wp-full-stripe-free'),
['status' => 403]
);
}
Equivalent ownership comparisons precede activation and plan/quantity updates. The fixed code also centralizes confirmed-session validation in getAuthenticatedCardUpdateSession(), returning HTTP 401 for an absent or unconfirmed portal session. These are distinct decisions: 401 rejects a request without valid portal authentication, while 403 rejects an authenticated customer attempting to operate on another customer's subscription.
I could verify 8.5.0 as vulnerable and 8.5.1 as fixed from the release snapshots. The broader “before 8.5.1” range is the coordinator's published range; this review did not inspect every earlier release or determine the introducing version.
The narrow primitive is a cross-customer subscription state change by an authenticated portal customer. Under the public PoC's prerequisites, Mallory can reuse her own confirmed session and provide Alice's subscription ID. In 8.5.0, the handler can reach operations for cancellation, reactivation, and plan or quantity modification without proving that Alice's subscription belongs to Mallory.
Important constraints remain:
- Mallory needs a valid confirmed portal session; the reviewed path is not an unauthenticated action.
- Mallory needs a target subscription identifier. This report does not claim that the endpoint itself discloses other customers' identifiers.
- The exact business effect depends on the requested action and Stripe subscription state. The verified issue is unauthorized control over the supported subscription operations, not payment-card disclosure, account takeover, or arbitrary Stripe API access.
- The public PoC reports an HTTP 200 success response on a vulnerable target and a 403 response with
wpfs_customer_portal_forbiddenon 8.5.1. Those are coordinator-published results, not responses I independently reproduced.
A useful runtime regression test would establish four controls: Mallory can modify her own subscription; Mallory cannot modify Alice's; a missing or unconfirmed portal cookie receives 401; and all three operation families—cancel, activate, and plan/quantity change—apply the same customer binding.
WPScan now publishes the request shape. The following is a sanitized representation using non-production placeholders. It is intentionally not a copy of any real session or subscription identifier:
POST /wp-json/wp-full-stripe/v1/manage-subscriptions/subscription/sub_alice_example HTTP/1.1
Host: wordpress.example
Content-Type: application/json
Cookie: WPFS_CARD_UPDATE_SESSION_ID=MALLORY_CONFIRMED_SESSION_HASH
{"id":"sub_alice_example","action":"cancel"}
Prerequisites are WP Full Pay before 8.5.1, an enabled customer portal, Mallory's confirmed portal session, and Alice's subscription ID. The request carries Mallory's legitimate session while selecting Alice's separate subscription object.
According to WPScan's public PoC, a vulnerable installation returns HTTP 200 with a success result, whereas 8.5.1 returns HTTP 403 with the error code wpfs_customer_portal_forbidden. Source review supports that expected distinction: 8.5.0 has no customer-to-subscription comparison, while 8.5.1 performs it before the mutation.
I did not execute this request. Cancellation is destructive to billing state and can affect service access, invoices, and customer communications. Reproduction should use an authorized disposable WordPress site, Stripe test mode, two synthetic customers, and synthetic subscriptions. After testing, recreate or reactivate test subscriptions as appropriate and delete the disposable portal sessions.
Upgrade Stripe Payment Forms by WP Full Pay to 8.5.1 or later. The shipped fix applies the necessary policy at the REST handler: authenticate the portal session, retrieve the selected subscription, compare its Stripe customer with the session's stripeCustomerId, and return 403 before any local or Stripe mutation when they differ.
Defenders should not rely on a request's route ID, JSON ID, UI filtering, or possession of a portal cookie as proof of ownership. Every state-changing branch must derive or validate the subscription against the authenticated customer at the server-side entry point. Regression coverage should include:
- A confirmed customer modifying their own subscription successfully.
- The same customer attempting to cancel another customer's subscription and receiving 403.
- The same negative control for activation and plan/quantity changes.
- Missing, unknown, and unconfirmed portal sessions receiving 401.
- A mismatch causing no Stripe mutation and no local subscription-table update.
Operators who cannot upgrade immediately should disable the affected customer-portal subscription-management feature until the fixed release can be deployed. Reviewing Stripe audit history and local subscription records for unexpected customer/subscription pairings may help identify prior misuse, but the source alone does not establish that exploitation occurred.
CVE-2026-77789 is an authenticated cross-customer authorization failure in WP Full Pay's subscription-management REST handler. Version 8.5.0 confirms Mallory's portal session but lets a separately supplied subscription ID reach cancel, activate, and plan/quantity operations without verifying ownership. WPScan lists versions before 8.5.1 as affected. The inspected 8.5.1 release fixes the defect by comparing the selected subscription's Stripe customer with the confirmed session customer and returning wpfs_customer_portal_forbidden on mismatch.
Credit
WPScan credits me as the original researcher and submitter.
Public References
- WPScan advisory and public proof of concept
- CVE-2026-77789 record
- WordPress plugin source, version 8.5.0
- WordPress plugin source, version 8.5.1
Responsible Use
This report is provided for defensive review and remediation. Test only systems you own or are explicitly authorized to assess.