Sticky Chat Widget – Floating Chat Icons
Unauthenticated attackers can perform SQL Injection through the `scw form fields` parameter array keys within the `scw save form data` AJAX action. The issue occurs because the `save form data()` function passes unsanitized POST array keys to `$wpdb->insert()`. Since column identifiers are wrapped in backticks without escaping, a backtick in the supplied key allows an attacker to break out of the identifier list and execute raw SQL. Furthermore, the use of `filter input()` bypasses the `wp magic quotes()` protection, and the validation loop for `widget id` is skipped if no valid ID is provided, leaving the `$isValid` variable set to 1. This allows the injection of additional SQL queries to extract sensitive information from the database.