Skip to main content

WP Bulk Delete CVE-2026-15727

| EUVDEUVD-2026-44900 MEDIUM
SQL Injection (CWE-89)
2026-07-16 Wordfence GHSA-g6hr-2vmc-344h
4.9
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain WordPress administrator credentials
  2. Delivery
    Authenticate to target WordPress site
  3. Exploit
    Send crafted POST request to AJAX delete handler
  4. Execution
    Inject SQL payload via delete_user_roles parameter
  5. Persist
    Bypass magic-quote protection via wp_unslash pre-processing
  6. Impact
    Extract sensitive data from WordPress database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress session with administrator-level (or higher) role assignment, consistent with the PR:H CVSS metric. The specific enabling technical condition is that the plugin calls wp_unslash() on the raw POST body prior to parse_str() decomposition, which strips WordPress's built-in magic-quotes protection and leaves the delete_user_roles parameter value fully unescaped before it is incorporated into a SQL query in includes/class-delete-api.php. The AJAX endpoint in includes/ajax-delete-handler.php must be network-reachable. Exploitation is strictly limited to users holding valid administrator credentials on the targeted WordPress installation; unauthenticated users and lower-privileged roles (subscriber, contributor, editor, author) cannot reach the vulnerable code path. The injection is read-only - no data write or deletion capability has been identified in available data. Non-default configurations are not required; any WordPress site running the plugin at version 1.4.2 or below with an administrator account presents the attack surface.

Impact

The NVD-assigned CVSS score of 4.9 (Medium) and vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N accurately reflects the bounded real-world risk. The PR:H metric is the dominant limiting factor: exploitation requires a valid WordPress administrator session, which is a high-trust role that, in most deployments, implies near-total site control already. The confidentiality impact is High (full database extraction), but Integrity and Availability are unaffected, confirming a read-only injection. No EPSS score was provided in the available data, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is not in the CISA KEV catalog, and no public exploit code has been identified, suggesting no widespread or opportunistic exploitation is occurring. The practical risk is elevated in multi-tenant or managed hosting environments where administrator credentials are delegated to lower-trust parties (e.g., site developers, clients), where an insider-threat or credential-compromise scenario could leverage this flaw to exfiltrate the entire database including password hashes, user PII, and secret keys. For single-owner WordPress installations, the risk is marginal since admin compromise already implies full site control.

Exploit ScenarioDerived

An attacker who has obtained or already possesses WordPress administrator credentials authenticates to the target site and submits a crafted POST request to the plugin's AJAX handler with a manipulated delete_user_roles value containing injected SQL - for example, a UNION-based payload designed to retrieve wp_users password hashes or option table secret keys. Because wp_unslash() has already removed magic-quote escaping before parse_str() processes the body, the injected SQL reaches the class-delete-api.php sink unmodified and executes against the WordPress database, returning attacker-chosen data in the response. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

SQL injection in the WP Bulk Delete WordPress plugin (all versions up to and including 1.4.2) allows authenticated attackers holding administrator-level privileges to append arbitrary SQL to existing queries via the delete_user_roles POST parameter, enabling full database read access. The root cause is a code-level stripping of WordPress's built-in magic-quotes protection: wp_unslash() is called on the raw POST body before parse_str() decomposes it, leaving attacker-controlled values fully unescaped when they reach the SQL sink in class-delete-api.php. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog; real-world risk is bounded by the administrator authentication requirement.

RemediationAI

Update WP Bulk Delete to a release version that incorporates the upstream fix committed to plugin trunk in SVN changeset 3608270 (https://plugins.trac.wordpress.org/changeset/3608270/wp-bulk-delete/trunk/includes/class-delete-api.php); no specific patched release version number has been independently confirmed from the available data, so monitor the WordPress plugin repository for a release beyond 1.4.2. If an immediate update is not possible, restrict WordPress administrator credentials to the minimum set of fully trusted users, as exploitation is gated entirely on administrator-level authentication. As a compensating control, deploy WAF rules targeting SQL injection patterns in the delete_user_roles POST parameter - Wordfence premium subscribers may receive automatic firewall rule coverage prior to a plugin update being released, though WAF rules are bypassable and should not be treated as a permanent fix. Disabling the WP Bulk Delete plugin entirely eliminates the attack surface if bulk-delete functionality is non-essential.

Affected VersionsENISA

WP Bulk Delete 0 ≤1.4.2

Affected Packages

euvd wp_bulk_delete no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is the WP Bulk Delete plugin by vendor Xylus (CPE: cpe:2.3:a:xylus:wp_bulk_delete:*:*:*:*:*:*:*:*), a WordPress plugin used for bulk deletion of users, posts, and related content. The vulnerability class is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). WordPress's wpdb layer normally mitigates injection risk through magic-quote slashing applied at request ingestion, but this plugin explicitly calls wp_unslash() on the raw POST body before passing it to parse_str(), which decomposes it into PHP variables. This sequence destroys the protective escaping that WordPress applies, so by the time the delete_user_roles value reaches the SQL construction logic in includes/class-delete-api.php (lines 1071 and 1113 in both the 1.4.1 and 1.4.2 tags), it is fully attacker-controlled and unescaped. The AJAX entry points are in includes/ajax-delete-handler.php at lines 36 and 118. No use of parameterized queries or wpdb::prepare() is applied at the sink, allowing SQL clause injection.

Know when Wp Bulk Delete gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 4.9 MEDIUM

Administrator credentials required (PR:H); AJAX endpoint is network-reachable with no complexity (AV:N, AC:L); read-only SQL injection yields high confidentiality but zero integrity or availability impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The WP Bulk Delete plugin for WordPress is vulnerable to generic SQL Injection via the 'delete_user_roles' parameter in all versions up to, and including, 1.4.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. wp_unslash() is applied to the raw POST body before parse_str() decomposes it, stripping WordPress magic-quotes protection and leaving attacker-controlled values fully unescaped prior to reaching the SQL sink.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
Low
niche WordPress bulk-delete plugin from small vendor Xylus
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy