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

6.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-6453
CVSS 6.5 (Medium)
Publicly Published July 31, 2026
Last Updated August 1, 2026
Researchers Louis Deschanel (JeanJeanLeHaxor) - Patrowl
Pascal SUN - Patrowl

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for CubeWP Framework

Software Type Plugin
Software Slug cubewp-framework (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.1.31, or a newer patched version
Affected Version
  • <= 1.1.30
Patched Version
  • 1.1.31

Recent vulnerabilities in CubeWP Framework

# Title CVE ID CVSS Researchers Date
1 CubeWP <= 1.1.30 - Authenticated (Subscriber+) SQL Injection CVE-2026-28168 6.5 daroo August 13, 2026
2 CubeWP Framework <= 1.1.30 - Insecure Direct Object Reference to Authenticated (Contributor+) Arbitrary Post and User Meta Disclosure CVE-2026-17018 4.3 Muni Nitish Kumar Yaddala August 5, 2026
3 CubeWP Framework <= 1.1.30 - Unauthenticated Arbitrary File Read via prev_icon/next_icon Parameter CVE-2026-13339 7.5 Nhien Pham (nhienit) (nhienit) August 1, 2026
4 CubeWP – All-in-One Dynamic Content Framework <= 1.1.27 - Unauthenticated Post Disclosure in class-cubewp-search-ajax-hooks.php CVE-2025-6461 4.3 stealthcopter January 24, 2026
5 CubeWP <= 1.1.26 - Authenticated (Contributor+) Stored Cross-Site Scripting via cubewp_shortcode_taxonomy Shortcode CVE-2025-8615 6.4 zaim January 16, 2026
6 CubeWP – All-in-One Dynamic Content Framework <= 1.1.27 - Unauthenticated Information Exposure CVE-2025-12129 5.3 Jonas Benjamin Friedli January 16, 2026
7 CubeWP <= 1.1.27 - Missing Authorization CVE-2025-68036 5.3 MD ISMAIL December 26, 2025
8 CubeWP <= 1.1.26 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-59569 6.4 zaim September 22, 2025
9 CubeWP Framework <= 1.1.24 - Authenticated (Subscriber+) Privilege Escalation CVE-2025-54735 8.8 Martino Spagnuolo August 19, 2025
10 CubeWP Framework <= 1.1.23 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-49882 6.4 Muhammad Yudha - DJ June 12, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation