CVE-2024-7489
Description
The Forms for Mailchimp by Optin Cat – Grow Your MailChimp List plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the form color parameters in all versions up to, and including, 2.5.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with editor-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in Mailchimp plugin via form color parameters allows editor-level attackers to inject scripts.
Vulnerability
The Forms for Mailchimp by Optin Cat – Grow Your MailChimp List plugin for WordPress is vulnerable to Stored Cross-Site Scripting (XSS) via form color parameters in all versions up to and including 2.5.7. The vulnerability exists in the includes/eoi-functions.php file due to insufficient input sanitization and output escaping [1][2]. This allows authenticated attackers with editor-level access to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Exploitation
An attacker must have editor-level access to the WordPress site. By crafting malicious JavaScript within form color parameters (such as '{{{headline_copy}}}' or similar fields processed in the output), the attacker can store the payload in the plugin's form settings. When any user, including administrators or visitors, views the page containing the affected form, the injected script executes in their browser [1][2]. No additional user interaction is required beyond viewing the page.
Impact
Successful exploitation allows the attacker to perform actions such as stealing session cookies, redirecting users to malicious sites, or modifying page content within the context of the victim's session. The attack compromises the confidentiality and integrity of the WordPress site, potentially leading to privilege escalation if administrator credentials are captured [1][2].
Mitigation
The issue has been fixed in version 2.5.8 released on 2024-10-12, as shown in the changeset [3]. Users are strongly advised to update to the latest version. No workaround is available; updating is the only mitigation.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: <=2.5.7
Patches
1r3198558Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- plugins.trac.wordpress.org/browser/mailchimp-wp/trunk/includes/eoi-functions.phpnvd
- plugins.trac.wordpress.org/browser/mailchimp-wp/trunk/includes/eoi-functions.phpnvd
- plugins.trac.wordpress.org/changeset/3198558/mailchimp-wp/trunk/includes/eoi-functions.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/52f9db86-7fed-4b32-8384-3ceb300f9249nvd
News mentions
0No linked articles in our index yet.