CVE-2025-5760 Simple History <= 5.8.1 - Authenticated (Administrator+) Sensitive Information Exposure via Detective Mode
An authenticated administrator can read logs containing plaintext passwords captured by the Simple History plugin's Detective Mode, leading to credential theft.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5760?
CVE-2025-5760 is a medium-severity vulnerability in eskapism Simple History – Track, Log, and Audit WordPress Changes, published on 6 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Simple History plugin for WordPress is vulnerable to sensitive data exposure via Detective Mode due to improper sanitization within the append_debug_info_to_context() function in versions prior to 5.8.1. When Detective Mode is enabled, the plugin’s logger captures the entire contents of $_POST (and sometimes raw request bodies or $_GET) without redacting any password‐related keys. As a result, whenever a user submits a login form, whether via native wp_login or a third‐party login widget, their actual password is written in clear text into the logs. An authenticated attacker or any user whose actions generate a login event will have their password recorded; an administrator (or anyone with database read access) can then read those logs and retrieve every captured password.
Weakness: CWE-256
Which versions are affected by CVE-2025-5760?
How do I fix CVE-2025-5760?
No fix has been published for CVE-2025-5760 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-5760 being exploited?
There is no known exploitation of CVE-2025-5760 in the wild and no public exploit code.
Sources
Also known as GHSA-q2wh-799f-g8x3.