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.
Published: 2026-08-01
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Cubewp1211
Cubewp1211 cubewp Framework
Wordpress
Wordpress wordpress
Vendors & Products Cubewp1211
Cubewp1211 cubewp Framework
Wordpress
Wordpress wordpress

Sat, 01 Aug 2026 09:15:00 +0000

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'}


Subscriptions

Cubewp1211 Cubewp Framework
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-03T18:39:59.351Z

Reserved: 2026-04-16T19:53:58.136Z

Link: CVE-2026-6453

cve-icon Vulnrichment

Updated: 2026-08-03T18:39:55.615Z

cve-icon NVD

Status : Deferred

Published: 2026-08-01T09:17:02.530

Modified: 2026-08-12T21:00:37.147

Link: CVE-2026-6453

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T09:45:04Z

Weaknesses
  • CWE-89

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