CVE-2026-78003
Description
The Mailgun for WordPress plugin for WordPress is vulnerable to Server-Side Request Forgery (SSRF) via path traversal in versions up to and including 2.2.0. This is due to insufficient input validation in the add_list() function, which accepts user-controlled array keys from $_POST['addresses'], passes them through sanitize_text_field(). This makes it possible for unauthenticated attackers to make authenticated POST requests to any Mailgun API endpoint using the WordPress site's API key, including creating inbound email-forwarding routes that can intercept password reset emails, leading to administrator account takeover.
Affected WordPress components
-
Mailgun for WordPress Plugin · mailgunUp to and including 2.2.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- mailgun Mailgun for WordPress — Up to and including 2.2.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L259
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L323
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L331
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L557
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L259
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L323
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L331
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L557
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/110e888d-69fc-4682-b908-2b62288c5227?source=cve
- nvd.nist.gov Official NVD record