Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/cubewp-framework/tags/1.1.29/cube/fun
- https://plugins.trac.wordpress.org/browser/cubewp-framework/tags/1.1.29/cube/mod
- https://plugins.trac.wordpress.org/browser/cubewp-framework/tags/1.1.29/cube/mod
- https://plugins.trac.wordpress.org/browser/cubewp-framework/trunk/cube/functions
- https://plugins.trac.wordpress.org/browser/cubewp-framework/trunk/cube/modules/c
- https://plugins.trac.wordpress.org/browser/cubewp-framework/trunk/cube/modules/c
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3627740%40cubewp-fram
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a4647620-e06a-49d5-8f9
FAQ
What is CVE-2026-6453?
CVE-2026-6453 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2026-6453?
CVE-2026-6453 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6453?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.