Executive brief
The Icegram Mailer plugin for WordPress, which manages email delivery and logs, contains a security flaw that could allow an authorized administrator to access sensitive information from the website's database. By exploiting this vulnerability, an attacker with high-level access could run unauthorized database commands to extract data they are not supposed to see. This could lead to the exposure of confidential site information or user data.
Technical details
The Icegram Mailer plugin for WordPress is vulnerable to SQL Injection via the 'fields' parameter in the Icegram_Mailer_Logs_Table::get_logs() function. The vulnerability exists because elements of the 'fields' array from the $_REQUEST['data'] input are joined directly into a SELECT clause using the implode() function without proper sanitization, whitelisting, or the use of prepared statements. An authenticated attacker with Administrator-level privileges can exploit this to append arbitrary SQL queries to existing database calls. This can be used to extract sensitive data from the WordPress database. The issue is present in versions up to and including 1.0.12.
Affected products
- Icegram Icegram Mailer – Reliable Email Deliverability, No-code SMTP Replacement & Email logs <= 1.0.12
Timeline
- 2026-08-01: disclosed
- 2026-08-01: advisory
References
- https://plugins.trac.wordpress.org/browser/icegram-mailer/tags/1.0.12/includes/class-icegram-mailer-router.php
- https://plugins.trac.wordpress.org/browser/icegram-mailer/tags/1.0.12/includes/controllers/class-icegram-mailer-dashboard-controller.php
- https://plugins.trac.wordpress.org/browser/icegram-mailer/tags/1.0.12/includes/db/class-icegram-mailer-logs-table.php
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3627122%40icegram-mailer&new=3627122%40icegram-mailer
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9e4cff1c-6a01-4725-9e37-f48b5de16d9b?source=cve