Commit Graph

4989 Commits

Author SHA1 Message Date
Mykyta Synelnikov 6fea2c7f6a Merge pull request #1659 from ultimatemember/fix/1654_additional
Enhance SQL injection protection in regex patterns
2025-03-10 15:05:47 +02:00
Mykyta Synelnikov 51dc3b5747 Refine regex patterns to improve injection protection.
Simplified the regex patterns for detecting and preventing `sleep` and `benchmark` injections. This improves the accuracy and maintainability of the security checks in the member directory code.
2025-03-07 10:51:48 +02:00
Mykyta Synelnikov 7014623010 Enhance SQL injection protection in regex patterns
Updated regular expressions to strengthen protection against sleep and benchmark injection attacks. This change improves the security of queries by handling potential edge cases more effectively.
2025-03-07 01:25:05 +02:00
WordPress .pot File Generator f9378a7963 🔄 Generated POT File 2025-03-03 14:11:46 +00:00
Mykyta Synelnikov 83a61b445e Merge pull request #1651 from ultimatemember/development/2.9.x
Version 2.10.1
2025-03-03 16:11:16 +02:00
Mykyta Synelnikov 4300a7eb9e Merge branch 'master' into development/2.9.x 2025-03-03 16:11:01 +02:00
Mykyta Synelnikov 13fb170740 Merge pull request #1654 from ultimatemember/security/md-search
Security path due to CVE ID: CVE-2025-1702
2025-03-03 16:06:26 +02:00
Mykyta Synelnikov 2fda1c090f Updated readme.txt 2025-02-28 14:35:17 +02:00
Mykyta Synelnikov bb4117eea4 Update to version 2.10.1 with critical security fixes
This release addresses a security vulnerability (CVE-2025-1702) and includes several bugfixes, such as honeypot script handling and activation link behavior. Users must flush cached assets (JS/CSS) after upgrading to ensure proper functionality. Upgrade immediately for improved security and stability.
2025-02-28 14:31:58 +02:00
Mykyta Synelnikov 2f18dccd09 Refactor email activation flow in Ultimate Member.
Improved readability and clarity of the email activation process by updating comments and restructuring conditional checks. Added hooks and filters for better customization, including redirect URL filtering. Replaced `wp_redirect` with `um_safe_redirect` for safer redirection handling.
2025-02-28 14:21:54 +02:00
Mykyta Synelnikov 429e810048 Merge pull request #1648 from ultimatemember/fix/activate_account_via_email_link
Activation link redirects to Reset Password (CU-86cy0809h)
2025-02-28 13:57:17 +02:00
Mykyta Synelnikov c0d506b199 Merge remote-tracking branch 'origin/development/2.9.x' into fix/activate_account_via_email_link 2025-02-28 13:35:20 +02:00
Mykyta Synelnikov 2c46002fa5 Merge branch 'master' into development/2.9.x 2025-02-28 13:27:45 +02:00
Mykyta Synelnikov 74647d42cc Fix improper namespace usage and enhance regex validation due to CVE ID: CVE-2025-1702
Replaced \WP_User_Query with correctly imported WP_User_Query to ensure proper namespace handling. Added a new regex pattern to block sleep injections, enhancing security within the member directory query validation.
2025-02-28 12:13:15 +02:00
Mykyta Synelnikov d107153244 Refactor profile image handling in Ultimate Member.
Simplified Gravatar image logic and improved code readability by restructuring the image processing flow. Removed redundant variable initialization and adjusted handling of `$image_info`. This ensures cleaner, more maintainable code while preserving existing functionality.
2025-02-28 11:22:24 +02:00
Mykyta Synelnikov b40486f053 Merge pull request #1652 from ultimatemember/fix/gravatar
Gravatar warning
2025-02-28 00:55:02 +02:00
yuriinalivaiko 468c9748fc - fixed image metadata for Gravatar 2025-02-21 13:47:50 +02:00
Mykyta Synelnikov 959bd82cdc Update Ultimate Member plugin honeypot CSS and JS
Removed wp_add_inline_script/style and used `um_request` as default honeypot key in um-styles.css and um-scripts.js.
2025-02-19 12:36:26 +02:00
Mykyta Synelnikov a0d19b7ab6 Simplify honeypot script and inline style logic.
Removed unnecessary condition checks around honeypot script and style injection. Streamlined the code to always enqueue the honeypot logic, improving maintainability and reducing complexity.
2025-02-19 01:03:46 +02:00
WordPress .pot File Generator 0e391a551f 🔄 Generated POT File 2025-02-18 15:29:11 +00:00
Mykyta Synelnikov 7c7be4df04 Merge pull request #1649 from ultimatemember/development/2.9.x
Update plugin release date in changelog and readme files
2025-02-18 17:28:49 +02:00
Mykyta Synelnikov 14a6b6e887 Update plugin release date in changelog and readme files
Corrected the release date for version 2.10.0 from February 17, 2025, to February 18, 2025, in both the changelog and readme files. No functional changes were made to the plugin.
2025-02-18 17:27:17 +02:00
yuriinalivaiko 945ed3775a Task CU-86cy0809h
- fixed redirect to the Password Change page after the account activation.
2025-02-14 21:57:47 +02:00
WordPress .pot File Generator c0470ecdad 🔄 Generated POT File 2025-02-13 10:21:17 +00:00
Mykyta Synelnikov 1d7568e60c Merge pull request #1628 from ultimatemember/development/2.9.x
Version 2.10.0
2025-02-13 12:20:53 +02:00
Mykyta Synelnikov dfabe84f85 Update Ultimate Member to version 2.10.0. 2025-02-13 12:09:05 +02:00
Mykyta Synelnikov 0c183594b1 Update Ultimate Member to version 2.10.0
Bump plugin version to 2.10.0, update documentation, and adjust URLs and metadata accordingly. This release includes increased minimum PHP and WordPress requirements and addresses security-related issues. Users are strongly advised to update immediately.
2025-02-13 11:28:28 +02:00
Mykyta Synelnikov 2c01e25b5c Enhance form preview options and improve code consistency
Added separate buttons for 'Live Preview Screen' and 'Live Preview Mobile' in the form builder for better user experience. Updated coding standards for consistency, including proper handling of PHP tags and escaping functions. These changes improve readability, maintainability, and enhance functionality.

Issue #1646
2025-02-12 18:44:46 +02:00
Mykyta Synelnikov aadad09ea9 Fix spacing for query arguments in action listener.
Adjusted spacing for better code readability and consistency in the query arguments within the class-actions-listener.php file. This change ensures the code aligns with coding standards without affecting functionality.
2025-02-12 18:26:37 +02:00
Mykyta Synelnikov 3ada6c71d9 Update PHP requirement and improve user action handling
Raised minimum PHP version to 7.0 and finalized the plugin version to 2.9.3. Introduced a centralized user actions array and replaced 'manage_options' capability with 'edit_users' for better permission handling. Optimized the nonce actions extension method for cleaner code.

* reviewed #1619
2025-02-12 18:25:26 +02:00
Mykyta Synelnikov c3755baa16 Merge pull request #1624 from ultimatemember/fix/um-erase-data
The "Erase of your data" layout (CU-86cxneg3d)
2025-02-12 17:58:06 +02:00
Mykyta Synelnikov b1d6cc646b Refactor GDPR register template for improved readability.
Streamlined PHP logic and variable handling to enhance readability and maintainability. Consolidated duplicated code, ensuring cleaner output for privacy policy content and error management within the Ultimate Member plugin.
2025-02-12 17:55:11 +02:00
Mykyta Synelnikov 5633531153 Merge pull request #1643 from ultimatemember/fix/privacy_policy
Fix the "Privacy Policy" field in the registration form (CU-86cxva4f0)
2025-02-12 17:49:56 +02:00
Mykyta Synelnikov 422d2b7c67 Refactor password handling to bypass wp_unslash.
Introduce a dedicated method to handle password fields securely, avoiding `wp_unslash` for these fields. This enhances consistency and security when processing form data across the plugin.
2025-02-12 17:47:19 +02:00
Mykyta Synelnikov cbc8c24b35 Merge pull request #1647 from ultimatemember/fix/password
Password set in Dashboard can't be used for UM login or vice versa (CU-86cxwy7ww)
2025-02-12 17:21:27 +02:00
Mykyta Synelnikov 38593400ba Merge pull request #1644 from ultimatemember/fix/updates-request
Fixes updates request
2025-02-12 17:16:56 +02:00
Mykyta Synelnikov 51c4d6f072 Merge pull request #1645 from ultimatemember/security/mysql
Fixes CVE-2024-12276
2025-02-12 17:15:23 +02:00
yuriinalivaiko 17d95a189b Task CU-86cxwy7ww
- password sanitize has been changed to the standard WordPress one.
2025-02-04 23:23:26 +02:00
Mykyta Synelnikov 4adbe19cbe * fixed CVE-2024-12276;
* reviewed using $wpdb and WPCS;
* set minimum required version to 6.2 due to using %i for $wpdb->prepare;
2025-02-03 16:17:37 +02:00
Mykyta Synelnikov a760a6242e * updated requests to site URL;
* WPCS;
2025-01-31 15:19:28 +02:00
yuriinalivaiko 0221b40b57 Task CU-86cxva4f0
- fixed the "Privacy Policy" field in the registration form - stripped out forms and other disallowed HTML from the "Privacy Policy" content.
2025-01-30 23:21:29 +02:00
Mykyta Synelnikov 26c8aa21e1 Merge pull request #1642 from ultimatemember/fix/honeypot_script_style
Fixes honeypot script&style
2025-01-30 13:04:30 +02:00
Mykyta Synelnikov 865fbf83c2 * added honeypot scripts/styles via
`wp_add_inline_script()`, `wp_add_inline_style()`
2025-01-30 13:00:17 +02:00
Mykyta Synelnikov 4d43d94502 * related to https://github.com/ultimatemember/ultimatemember/commit/8ca44d02a02e887fc4ab9bcb8ea9ff18ab2c0413 2025-01-30 12:33:49 +02:00
Mykyta Synelnikov 236293645a Merge pull request #1641 from ultimatemember/fix/cover_profile_photo_on_view
Cover and Profile photo uploaders (CU-86cxtae21) alternativity
2025-01-29 16:48:50 +02:00
Mykyta Synelnikov bb0a49e08a * update dropdown items texts on cover photo change/remove;
* WPCS;
2025-01-29 16:44:29 +02:00
Mykyta Synelnikov fce490f54b * update dropdown items texts on cover photo change/remove;
* WPCS;
2025-01-29 16:43:05 +02:00
Mykyta Synelnikov 4dd1be344e * backward compatibility;
* update dropdown items texts on profile photo change/remove;
* added escapers;
* WPCS;
2025-01-29 16:01:02 +02:00
Mykyta Synelnikov 0520a55cc4 * removed hidden inputs on view mode;
* handle data attribute instead of the hidden input;
* WPCS;
2025-01-29 14:49:47 +02:00
Mykyta Synelnikov e9e68e28cf * added data attribute;
* updated hooks docs;
* WPCS;
2025-01-29 14:24:15 +02:00