Commit a91f5da
committed
Final version bump to v5.2.2 for public release.
Squashed commit of the following:
commit 6a98399
Author: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com>
Date: Fri Jun 19 09:22:11 2026 +0545
Fix/vulnerability v5.2.1 (#1300)
* UR-4561 Fix - Subscriber-Level IDOR and Payment Bypass on Membership Upgrade Action
* Fix - Unauthenticated Privilege Escalation via Off-Form Membership Tier Substitution in Registration
* Fix - Webhook not configured but still can bypass paypal payments
* Fix - Delete intercepeted attacker registered as user
* Fix - Issue
* Sync codes to pro
* UR-4584 Fix - PayPal Upgrade Membership – Incorrect Redirect & Incomplete Upgrade Action
commit 5b11d71
Author: Prajjwal Poudel <iamprazol@gmail.com>
Date: Fri Jun 19 09:20:20 2026 +0545
UR-4586 Fix - Hardcoded database table names causing failures on custom table prefixes
commit e810837
Author: Prajjwal Poudel <85762481+iamprazol@users.noreply.github.com>
Date: Fri Jun 19 09:09:10 2026 +0545
Fix - Password reset link shows invalid or expired error after update from 5.1.6 (#1299)
commit 9d0462d
Author: saurav <133834846+saurab018@users.noreply.github.com>
Date: Thu Jun 18 15:44:11 2026 +0545
UR-4576: Fix membership subscriptions stuck pending on 3D Secure cards (#1303)
Stripe SDK (Basil API) dropped invoice.payment_intent in favour of
invoice.payments; the front-end still read payment_intent and crashed,
so the 3DS challenge never ran and orders/subscriptions stayed pending.
Resolve the PaymentIntent server-side and expose it for SCA; guard the
client handler and confirm 3D Secure.
commit 7bb1e64
Author: saurav <133834846+saurab018@users.noreply.github.com>
Date: Thu Jun 18 15:39:29 2026 +0545
UR-4547 Fix - Checkbox visibility issue caused by CSS conflict from User Registration & Membership plugin (admin.css) (#1295)
The plugin's admin.css applies to checkboxes/radios
on the WP user profile page with higher specificity than WP core's
. WP draws
the checkmark as a white SVG via , so a checked box
shows a white checkmark on a white background — appearing empty.
Adds a scoped, additive rule that restores the theme-color
background only on the WP profile/user-edit pages so the white check
becomes visible. No existing rules are modified.
commit 031878e
Author: saurav <133834846+saurab018@users.noreply.github.com>
Date: Thu Jun 18 15:38:14 2026 +0545
UR-4550 Fix - Password reset link shows invalid or expired on hosts that strip the reset cookie (#1296)
* UR-4550 Fix - Password reset link shows invalid or expired on hosts that strip the reset cookie
The reset flow is a two-step cookie handoff: redirect_reset_password_link()
sets the wp-resetpass-* cookie then 302s to the form, which reads the cookie
back to validate the key. Managed hosts/CDNs (e.g. Flywheel behind Fastly)
strip the non-allowlisted Set-Cookie at the edge, so the form never sees the
cookie and every user gets 'invalid or expired' regardless of key validity.
Add a cookie-independent fallback: stash login:key in a short-lived transient
keyed by an opaque token carried through the redirect, and repopulate
from it at step 2 only when the cookie is missing. Existing code runs unchanged
and the cookie stays the primary path (no-op on hosts that deliver it). Token
is a 32-char CSPRNG value, single-use (deleted on reset), 1h TTL, alnum-validated,
with Referrer-Policy: no-referrer so it cannot leak via the Referer header.
* comment managed
commit 1b24a0e
Author: saurav <133834846+saurab018@users.noreply.github.com>
Date: Thu Jun 18 15:34:39 2026 +0545
UR-4326 Dev - Add UR_WPML compatibility service class for centralized WPML handling (#1301)
commit 7a618af
Author: saurav <133834846+saurab018@users.noreply.github.com>
Date: Thu Jun 18 14:37:00 2026 +0545
Fix: PayPal production credentials not detected due to option key mismatch (#1302)
Credentials are saved under option keys but were looked up using the raw mode value , causing errors when production mode was active. Added helper that maps → for option key lookups while leaving the mode value unchanged for API URL and flow comparisons.
Fixes UR-4565.
commit 1787bee
Author: Prajjwal Poudel <iamprazol@gmail.com>
Date: Wed Jun 10 09:10:10 2026 +0545
UR-4556 Fix - Payment Method Bypass Allows Free Access to Paid Memberships via Tampered Registration Request
commit dc79fbf
Author: Prajjwal Poudel <iamprazol@gmail.com>
Date: Tue Jun 9 15:57:21 2026 +0545
UR-4555 Fix - Missing Paypal Webhook Signature Verification.1 parent 50eddbb commit a91f5da
21 files changed
Lines changed: 1389 additions & 887 deletions
File tree
- assets
- css
- js
- frontend
- modules/membership/frontend
- includes
- stats
- languages
- modules/membership/includes
- Admin/Services
- Paypal
- Stripe
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8703 | 8703 | | |
8704 | 8704 | | |
8705 | 8705 | | |
| 8706 | + | |
| 8707 | + | |
| 8708 | + | |
| 8709 | + | |
| 8710 | + | |
| 8711 | + | |
| 8712 | + | |
| 8713 | + | |
| 8714 | + | |
| 8715 | + | |
| 8716 | + | |
| 8717 | + | |
| 8718 | + | |
| 8719 | + | |
| 8720 | + | |
| 8721 | + | |
| 8722 | + | |
| 8723 | + | |
8706 | 8724 | | |
8707 | 8725 | | |
8708 | 8726 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 72 additions & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2518 | 2518 | | |
2519 | 2519 | | |
2520 | 2520 | | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
2521 | 2530 | | |
2522 | | - | |
2523 | | - | |
2524 | | - | |
| 2531 | + | |
| 2532 | + | |
2525 | 2533 | | |
2526 | | - | |
2527 | | - | |
2528 | | - | |
2529 | | - | |
2530 | | - | |
2531 | | - | |
2532 | | - | |
2533 | 2534 | | |
| 2535 | + | |
| 2536 | + | |
2534 | 2537 | | |
2535 | 2538 | | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
2539 | | - | |
2540 | | - | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
2544 | | - | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
2549 | | - | |
2550 | | - | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
2551 | 2564 | | |
2552 | | - | |
2553 | | - | |
2554 | | - | |
2555 | | - | |
2556 | | - | |
2557 | | - | |
2558 | | - | |
2559 | | - | |
2560 | | - | |
2561 | | - | |
2562 | | - | |
2563 | | - | |
2564 | | - | |
2565 | | - | |
2566 | | - | |
2567 | | - | |
2568 | | - | |
2569 | | - | |
2570 | | - | |
2571 | | - | |
2572 | | - | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
2573 | 2596 | | |
| 2597 | + | |
| 2598 | + | |
| 2599 | + | |
2574 | 2600 | | |
2575 | 2601 | | |
2576 | 2602 | | |
| |||
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
56 | 64 | | |
57 | 65 | | |
58 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
60 | 74 | | |
61 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
62 | 121 | | |
63 | 122 | | |
64 | 123 | | |
| |||
789 | 848 | | |
790 | 849 | | |
791 | 850 | | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
792 | 857 | | |
793 | 858 | | |
794 | 859 | | |
| |||
0 commit comments