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.
References6
- plugins.trac.wordpress.org/browser/wp-mail-gateway/tags/1.8/src…
- plugins.trac.wordpress.org/browser/wp-mail-gateway/tags/1.8/src…
- plugins.trac.wordpress.org/browser/wp-mail-gateway/trunk/src/Bo…
- plugins.trac.wordpress.org/browser/wp-mail-gateway/trunk/src/Fu…
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&repo…
- www.wordfence.com/threat-intel/vulnerabilities/id/c7caf1f4-a8dd…
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 34 · as of 13 November 2026
- CWE
- CWE-862
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.