---
id: CVE-2026-16087
title: >-
  The Icegram Engage – Popups, Optins, CTAs & Lead Generation plugin for
  WordPress is vulnerable to second-order SQL Injection via 'messages[][id]'
  Parameter in all versions up to, and including, 3.1.42 due to insufficient
  escaping on the …
summary: >-
  The Icegram Engage – Popups, Optins, CTAs & Lead Generation plugin for
  WordPress is vulnerable to second-order SQL Injection via 'messages[][id]'
  Parameter in all versions up to, and including, 3.1.42 due to insufficient
  escaping on the …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
published: '2026-08-01'
updated: '2026-08-01'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16087'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php#L1338
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php#L1720
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php#L1770
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/classes/class-icegram-campaign-admin.php#L1134
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3628434%40icegram&new=3628434%40icegram
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/1543265e-dbbf-4d48-aaa9-353e2a5c3fe9?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00451
epssPercentile: 0.3657
ingestedAt: '2026-08-02T05:17:48.242Z'
---

## Overview

The Icegram Engage – Popups, Optins, CTAs & Lead Generation plugin for WordPress is vulnerable to second-order SQL Injection via 'messages[][id]' Parameter in all versions up to, and including, 3.1.42 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The injection is second-order: the malicious id value is first persisted to post meta via the save_campaign_preview() AJAX action (gated by a nonce check and edit_post capability, requiring Editor-level access or above), and only executed as SQL when a subsequent preview request triggers get_message_data() to interpolate the stored value directly into a SQL IN() clause without $wpdb->prepare() or integer casting.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
