Paper/Archive/CVE-2026-78003

CVE-2026-78003

mailgun Mailgun for WordPress — Mailgun for WordPress <= 2.2.0 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys

Description · from the CVE record

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

ProductAffectedFixed inSource
Mailgun for WordPress≤ 2.2.0–CNA

Scores by source

Wordfence (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refwordfence.com/threat-intel/vulnerabilities/id/110e888d-69fc-4682-b908-2b62288c5227?source=cverefplugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L557refplugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L259refplugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L259refplugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L323refplugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L323refplugins.trac.wordpress.org/browser/mailgun/trunk/mailgun.php#L331refplugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L331refplugins.trac.wordpress.org/browser/mailgun/tags/2.1.10/mailgun.php#L557