CVE-2025-31042 WordPress Sandwich Adsense plugin <= 4.0.2 - Broken Access Control Vulnerability
Attackers can bypass access controls in the Sandwich Adsense WordPress plugin to perform unauthorized actions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31042?
CVE-2025-31042 is a medium-severity missing authorization vulnerability in rtakao Sandwich Adsense, published on 9 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Missing Authorization vulnerability in rtakao Sandwich Adsense firsth3tagadsense allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Sandwich Adsense: from n/a through <= 4.0.2.
Weakness: CWE-862
Which versions are affected by CVE-2025-31042?
How do I fix CVE-2025-31042?
No fix has been published for CVE-2025-31042 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-31042 being exploited?
There is no known exploitation of CVE-2025-31042 in the wild and no public exploit code.
Sources
Also known as GHSA-hp8v-m2mf-6ffv.