9.8critical
Mailgun for WordPress <= 2.2.0 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys
- Severity
- 9.8critical CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.87% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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
| Product or package | Versions | Reported by |
|---|---|---|
| mailgun Mailgun for WordPress | up to 2.2.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
El plugin Mailgun para WordPress para WordPress es vulnerable a la falsificación de petición del lado del servidor (SSRF) a través de salto de ruta en versiones hasta la 2.2.0 inclusive. Esto se debe a una validación de entrada insuficiente en la función add_list(), que acepta claves de array controladas por el usuario desde parámetro , las pasa a través de sanitize_text_field(). Esto hace posible que atacantes no autenticados realicen peticiones POST autenticadas a cualquier endpoint de la API de Mailgun utilizando la clave API del sitio de WordPress, incluyendo la creación de rutas de reenvío de correo electrónico entrantes que pueden interceptar correos electrónicos de restablecimiento de contraseña, lo que lleva a la toma de control de la cuenta de administrador.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-78003 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-78003 changed 2026-10-12 | Public domain |