WordPress Plugin Vulnerabilities
Mailgun for WordPress < 2.2.1 - Unauthenticated Server-Side Request Forgery (SSRF) via 'addresses' Array Keys
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.
Affects Plugins
References
Classification
Type
SSRF
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Osvaldo Noe Gonzalez Del Rio (Os)
Verified
No
WPVDB ID
Timeline
Publicly Published
2026-08-21 (about 30 days ago)
Added
2026-08-21 (about 29 days ago)
Last Updated
2026-09-15 (about 4 days ago)