Description
The My Sticky Bar plugin for WordPress is vulnerable to SQL injection via the `stickymenu_contact_lead_form` AJAX action in all versions up to, and including, 2.8.6. This is due to the handler using attacker-controlled POST parameter names directly as SQL column identifiers in `$wpdb->insert()`. While parameter values are sanitized with `esc_sql()` and `sanitize_text_field()`, the parameter keys are used as-is to build the column list in the INSERT statement. This makes it possible for unauthenticated attackers to inject SQL via crafted parameter names, enabling blind time-based data extraction from the database.
Problem types
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
* (semver)
Timeline
| 2026-03-06: | Vendor Notified |
| 2026-03-11: | Disclosed |
Credits
Dimas Maulana
References
www.wordfence.com/...-151a-4462-a6a0-5a638d7c3404?source=cve
plugins.trac.wordpress.org/...nu/tags/2.8.6/mystickymenu.php
plugins.trac.wordpress.org/...nu/tags/2.8.6/mystickymenu.php
plugins.trac.wordpress.org/...nu/tags/2.8.6/mystickymenu.php
plugins.trac.wordpress.org/...ckymenu/trunk/mystickymenu.php
plugins.trac.wordpress.org/..._path=/mystickymenu/tags/2.8.7