Executive brief
Icegram Engage, a WordPress plugin used for creating popups and lead generation forms, contains a security flaw that could allow an attacker to steal sensitive information from a website's database. By exploiting this vulnerability, a user with basic contributor-level access can inject malicious commands that are later executed by the system. This could lead to the unauthorized disclosure of customer data or internal site configuration details.
Technical details
The Icegram Engage plugin for WordPress is vulnerable to second-order SQL Injection due to insufficient escaping and lack of preparation in SQL queries within the get_message_data() function. The vulnerability is triggered when a malicious 'id' value is persisted to post meta via the save_campaign_preview() AJAX action. This stored value is subsequently interpolated directly into a SQL IN() clause without using $wpdb->prepare() or integer casting during a preview request. Authenticated attackers with contributor-level access or higher can exploit this to append additional SQL queries and extract sensitive data from the database. The issue is addressed in version 3.1.43.
Affected products
- Icegram Icegram Engage – Popups, Optins, CTAs & Lead Generation up to, and including, 3.1.42
Timeline
- 2026-08-01: disclosed
- 2026-08-01: advisory
References
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/classes/class-icegram-campaign-admin.php
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3628434%40icegram&new=3628434%40icegram
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1543265e-dbbf-4d48-aaa9-353e2a5c3fe9?source=cve