CVE-2026-6453

CubeWP Framework <= 1.1.30 - Authenticated (Subscriber+) SQL Injection via 'relation_id' Parameter

Published Aug 1, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The CubeWP Framework plugin contains an SQL Injection flaw in the cubewp_remove_relation() AJAX function, where the relation_id parameter is unsafely passed into a raw SQL query. The function uses wp_unslash() to strip backslashes before inserting the value, thereby disabling WordPress’ basic injection protection. This allows an authenticated user with a subscriber role or higher to inject additional SQL statements and potentially read, modify, or delete database contents.

Affected Systems

All installations of CubeWP Framework version 1.1.30 and earlier are affected. The vulnerability is present in the plugin code that handles relationship removal via AJAX, and the affected releases are identified by the vendor identifier cubewp1211. Customers using any of these plugin versions on WordPress sites must assess whether their sites include the CubeWP Framework and are therefore vulnerable.

Risk and Exploitability

The CVSS base score of 6.5 indicates moderate severity, and the EPSS score of less than 1% reflects a low likelihood of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Effective exploitation requires an authenticated attacker with at least subscriber-level access, who can issue the vulnerable AJAX request from a browser session that is logged in to the WordPress site.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update CubeWP Framework to a version newer than 1.1.30 once one is released; if no update is available, manually replace the cubewp_remove_relation() function with a $wpdb->prepare() call that safely sanitizes the relation_id parameter.
  • Restrict the role that can trigger the AJAX endpoint by adding a capability check or by removing the action hook for lower‑privileged users, thereby limiting the potential user base for the injection attack.
  • Consider disabling or removing the AJAX handler for removing relationships in environments where the functionality is unnecessary, using a custom plugin or code snippet to override the vulnerable endpoint.

Generated by OpenCVE AI on August 3, 2026 at 09:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cubewp1211
Cubewp1211 cubewp Framework
Wordpress
Wordpress wordpress
Vendors & Products Cubewp1211
Cubewp1211 cubewp Framework
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description 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.
Title CubeWP Framework <= 1.1.30 - Authenticated (Subscriber+) SQL Injection via 'relation_id' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 3, 2026, 6:39 PM
Reserved
Apr 16, 2026, 7:53 PM
Status
Deferred
Published
Aug 1, 2026, 9:17 AM
Modified
Aug 12, 2026, 9:00 PM