PT-2026-89748 · Gingerplugins · Sticky Chat Widget – Floating Chat Icons
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
The Sticky Chat Widget plugin for WordPress is vulnerable to SQL Injection via the 'scw form fields' parameter array keys of the 'scw save form data' AJAX action in versions up to, and including, 1.4.2. This is due to the save form data() function passing attacker-controlled POST array keys unsanitized to $wpdb->insert(), which wraps column identifiers in backticks without escaping them, allowing a backtick in an attacker-supplied key to break out of the column-identifier list into raw SQL; additionally, the use of filter input() bypasses WordPress's wp magic quotes() protection, and the widget id validation loop is skipped entirely when no valid widget id is supplied, leaving $isValid at 1. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sticky Chat Widget – Floating Chat Icons