Skip to main content

CubeWP Framework CVE-2026-6453

| EUVDEUVD-2026-51792 MEDIUM
SQL Injection (CWE-89)
2026-08-01 security@wordfence.com GHSA-fg67-hgjg-74qh
6.5
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

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

  1. Recon
    Register or obtain subscriber account
  2. Delivery
    Authenticate and obtain WordPress nonce
  3. Exploit
    Send POST to wp-admin/admin-ajax.php with action=cubewp_remove_relation
  4. Install
    Inject UNION SQL payload into relation_id parameter
  5. C2
    wp_unslash() strips escaping, bypassing magic-quotes protection
  6. Execute
    Raw SQL executes against WordPress database
  7. Impact
    Exfiltrate user credentials and sensitive site data

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 user session at subscriber level or above - the cubewp_remove_relation() handler is registered as an AJAX callback accessible to any logged-in user regardless of role. The CubeWP Framework plugin must be installed and active on the target site. Open user registration (Settings > General > 'Anyone can register' enabled) reduces the prerequisite to self-service account creation, making exploitation available to any unauthenticated internet user in two steps. Sites that disable open registration limit exploitability to accounts already provisioned by an administrator. The CVSS impact scores (C:H/I:N/A:N) indicate exploitation is limited to read-only database access; stacked query execution enabling writes would depend on the MySQL user permission set and whether the database driver permits multi-statement queries, which is not confirmed from available data. No special plugin configuration, non-default feature flags, or specific deployment topology beyond plugin activation is required.

Impact

The NVD CVSS 6.5 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) is well-calibrated: network exploitability with no complexity or user-interaction requirements is offset by the PR:L subscriber authentication requirement. C:H reflects the full WordPress database being reachable - password hashes, email addresses, session tokens, API keys stored in wp_options, and all custom CubeWP data are in scope. I:N and A:N indicate read-only impact per the CVSS assessment, consistent with UNION-based or blind SQL injection rather than a write/destructive attack path, though stacked queries may be possible depending on the database driver configuration. The subscriber-level authentication bar (PR:L) is a meaningful but low real-world barrier: sites with open user registration allow any internet user to self-register and immediately exploit. EPSS data was not included in the intelligence package, so probabilistic exploitation likelihood cannot be quantified. No CISA KEV listing and no confirmed public POC exist at time of analysis. A Wordfence disclosure and trac changeset reference indicate vendor awareness and an upstream code fix, but a tagged release above 1.1.30 is not confirmed from available data. Real-world risk is moderate-to-elevated for any site with subscriber registration enabled; sites requiring invitation-only registration face meaningfully lower exposure.

Exploit ScenarioDerived

An attacker registers a free subscriber account on a WordPress site with open registration and CubeWP Framework 1.1.30 or earlier installed and active, then sends a crafted authenticated POST request to wp-admin/admin-ajax.php with action set to the cubewp_remove_relation handler and a UNION-based SQL payload in the relation_id parameter. Because wp_unslash() has already stripped WordPress's escaping before the value reaches the SQL string, the injected UNION SELECT clause executes against the WordPress database, returning the wp_users table contents - including usernames, hashed passwords, and email addresses - in the AJAX response. No public POC has been identified at time of analysis, but the straightforward nature of the injection point makes independent exploit development low-effort for an attacker with WordPress internals knowledge.

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

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

Alert me

AnalysisAIv1 – Aug 01, 2026

SQL Injection in CubeWP Framework plugin for WordPress (all versions through 1.1.30) enables authenticated attackers holding only subscriber-level access to append arbitrary SQL to database queries via the cubewp_remove_relation() AJAX handler, exposing the full WordPress database to read-based attacks. The flaw is particularly egregious because the code actively undoes WordPress's built-in injection protection: wp_unslash() strips the magic-quotes escaping that WordPress applies to all POST data, then the unescaped relation_id is interpolated directly into a raw SQL query without wpdb->prepare(), with sanitize_text_field() providing no SQL protection whatsoever. No public exploit code or CISA KEV listing has been identified at time of analysis; however, the low subscriber-level authentication bar significantly elevates real-world risk on sites with open user registration.

RemediationAI

An upstream fix has been committed to the CubeWP Framework plugin repository (https://plugins.trac.wordpress.org/changeset?reponame=&old=3627740%40cubewp-framework&new=3627740%40cubewp-framework); however, a tagged patched release version above 1.1.30 is not independently confirmed from available data - administrators should monitor the WordPress.org plugin page for CubeWP Framework and upgrade as soon as a patched version is published. As an immediate compensating control, disabling WordPress open user registration (Settings > General > uncheck 'Anyone can register') raises the exploitation bar from any internet user to only pre-existing authenticated accounts, meaningfully reducing real-world risk without functional impact for most sites. A Web Application Firewall rule targeting wp-admin/admin-ajax.php POST requests with the action=cubewp_remove_relation parameter and SQL metacharacters in relation_id can reduce exposure, though WAF bypass via encoding or obfuscation remains possible. If the CubeWP relationships feature is not actively in use, deactivating the plugin entirely eliminates the attack surface. Consult the Wordfence advisory for patch availability updates.

Affected VersionsENISA

CubeWP Framework 0 ≤1.1.30

Affected Packages

euvd cubewp_framework 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

CubeWP Framework is a WordPress plugin providing a no-code engine for building custom post types, fields, and content relationships. The vulnerability resides in two related locations: admin-functions.php at line 2655 (the AJAX dispatch layer) and class-cubewp-relationships.php at lines 251 and 261 (the relationship deletion logic). WordPress's wp_magic_quotes() function automatically applies addslashes() to all $_POST superglobal data as a baseline SQL injection defense. The vulnerable code path explicitly calls wp_unslash() on the relation_id POST parameter, which reverses this escaping - intentionally destroying the only automatic SQL protection layer - before the value is concatenated directly into a raw SQL string executed via wpdb. The subsequently applied sanitize_text_field() sanitizes for HTML/XSS output contexts but has no effect on SQL metacharacters. The correct pattern, wpdb->prepare() with parameterized placeholders, is absent entirely. CWE-89 (Improper Neutralization of Special Elements in an SQL Command) describes this root cause class: unsanitized, attacker-controlled input flows through a code path that actively neutralizes the protection layer before reaching a SQL execution sink.

Know when WordPress 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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-accessible AJAX endpoint requires only subscriber authentication; read-only SQL injection yields no confirmed integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

The CubeWP Framework plugin for WordPress is vulnerable to SQL Injection in all versions up to and including 1.1.30. This is due to insufficient input sanitization in the cubewp_remove_relation() AJAX function, specifically the use of wp_unslash() on the relation_id parameter before interpolating it directly into a raw SQL query without using $wpdb->prepare(). The wp_unslash() call explicitly removes the backslash escaping that WordPress's wp_magic_quotes() adds to all $_POST data, neutralizing the only layer of SQL injection protection. The sanitize_text_field() function applied afterward offers no SQL protection. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries to the existing query.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche WordPress no-code framework plugin, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.3%
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

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

CVE-2016-10033 CRITICAL POC
9.8 Dec 30

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2026-63030 CRITICAL POC
9.8 Jul 17

Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r

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