Description
The WP Mail Gateway plugin for WordPress is vulnerable to unauthorized access due to a missing capability check on the wmg_save_provider_config AJAX action in all versions up to, and including, 1.8. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update SMTP settings and redirect mail which can be used for privilege escalation by triggering a password reset email and using that to access and administrator's account.
Problem types
Product status
Any version
Timeline
| 2026-04-25: | Vendor Notified |
| 2026-05-01: | Disclosed |
Credits
Nabil Irawan
References
www.wordfence.com/...-a8dd-4016-91eb-2adbeed5290a?source=cve
plugins.trac.wordpress.org/...ateway/trunk/src/Functions.php
plugins.trac.wordpress.org/...way/tags/1.8/src/Functions.php
plugins.trac.wordpress.org/...ateway/trunk/src/Bootstrap.php
plugins.trac.wordpress.org/...way/tags/1.8/src/Bootstrap.php
plugins.trac.wordpress.org/...-gateway&sfp_email=&sfph_mail=