CVE-2025-12887 Missing authorization in Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App

Medium 5.4 Published Updated

Authenticated subscribers can inject invalid or attacker-controlled OAuth credentials due to missing authorization checks in the Post SMTP plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12887?

CVE-2025-12887 is a medium-severity missing authorization vulnerability in saadiqbal Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App, published on 3 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Post SMTP plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 3.6.1. This is due to the plugin not properly verifying that a user is authorized to update OAuth tokens on the 'handle_gmail_oauth_redirect' function. This makes it possible for authenticated attackers, with subscriber level access and above, to inject invalid or attacker-controlled OAuth credentials. CVE-2025-67563 appears to be a duplicate of this issue.

Weakness: CWE-862

Which versions are affected by CVE-2025-12887?

How do I fix CVE-2025-12887?

No fix has been published for CVE-2025-12887 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-12887 being exploited?

There is no known exploitation of CVE-2025-12887 in the wild and no public exploit code.

Sources

Also known as GHSA-wvg9-vc45-v9rf.

Is CVE-2025-12887 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free