# CVE-2026-15951: Icegram Mailer SQL injection in get_logs function

Source: https://junglewise.ai/threats/cve-2026-15951-icegram-mailer-sql-injection-in-get-logs-function  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-01. Updated: 2026-08-01  
License: CC BY 4.0 with a link back

CVE-2026-15951 · Severity: medium · CVSS 4.9 · Published 2026-08-01

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.

Vendors: [Icegram](https://junglewise.ai/threats/vendors/icegram).

## Quick answers

**Is CVE-2026-15951 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-15951 being exploited in the wild.

**How severe is CVE-2026-15951?** Medium severity, with a CVSS score of 4.9, published 1 August 2026.

**Which products and versions are affected?** Icegram Mailer <= 1.0.12.

**Is there a fix for CVE-2026-15951?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-15951 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-15951?** Check whether you run Icegram Mailer at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## 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/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/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/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://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](https://www.wordfence.com/threat-intel/vulnerabilities/id/9e4cff1c-6a01-4725-9e37-f48b5de16d9b?source=cve)
