Skip to content
Heist/ feed
Back to feed
Medium

Simple History <= 5.8.1 - Authenticated (Administrator+) Sensitive Information Exposure via Detective Mode

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-5760
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 05:03 UTC · Revision 1

Source evidence

Simple History <= 5.8.1 - Authenticated (Administrator+) Sensitive Information Exposure via Detective Mode

core-osv · Original source

Published 6 Jun 2025, 11:13 UTC

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.

osv:CVE-2025-5760
Complete source record
{
  "id": "38264c4a237fe1988a6139a5d56479d3e209aff7ada06cab9d0f30e34f2ced71",
  "url": "https://osv.dev/vulnerability/CVE-2025-5760",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Simple History <= 5.8.1 - Authenticated (Administrator+) Sensitive Information Exposure via Detective Mode",
    "summary": "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.",
    "evidence": "osv:CVE-2025-5760",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-5760",
      "aliases": [
        "CVE-2025-5760"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bonny/wordpress-simple-history",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "68eab0cab6882eafef4bfece884093eeda5ac018"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.8.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "68eab0cab6882eafef4bfece884093eeda5ac018"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.8.1",
            "5.8.0",
            "5.7.0",
            "5.6.1",
            "5.6.0",
            "5.5.1",
            "5.5.0",
            "5.2.0",
            "5.1.0",
            "5.0.4",
            "5.0.3",
            "5.0.1",
            "5.0.0",
            "4.16.0",
            "4.15.1",
            "4.14.0",
            "4.13.0",
            "4.12.0",
            "4.11.0",
            "4.10.0",
            "4.9.0",
            "4.7.2",
            "4.7.1",
            "4.7.0",
            "4.6.0",
            "4.5.0",
            "4.4.0",
            "4.3.0",
            "4.2.1",
            "4.2.0",
            "4.1.0",
            "4.0.1",
            "4.0.0",
            "3.3.0",
            "3.2.0",
            "3.1.1",
            "3.1.0",
            "3.0.0",
            "2.41.2",
            "2.41.1",
            "2.41.0",
            "2.40.0",
            "2.39.0",
            "2.37.2",
            "2.36",
            "2.33",
            "2.32",
            "2.31.1",
            "2.31",
            "2.30",
            "2.29.2",
            "2.29.1",
            "2.29",
            "2.28.1",
            "2.28",
            "2.25",
            "2.24",
            "2.22",
            "2.21.1",
            "2.21",
            "2.18",
            "2.17",
            "2.16",
            "2.15",
            "2.14.1",
            "2.14",
            "2.13",
            "2.12",
            "2.5.1",
            "2.5",
            "2.4",
            "2.3.1",
            "2.3",
            "2.2.4",
            "2.2.3",
            "2.2.2",
            "2.2.1",
            "2.2",
            "2.1.7",
            "2.1.6",
            "2.1.5",
            "2.1.4",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1",
            "2.0.30",
            "2.0.29",
            "2.0.28",
            "2.0.27",
            "2.0.26",
            "2.0.25",
            "2.0.24",
            "2.0.23",
            "2.0.22",
            "2.0.21",
            "2.0.20",
            "2.0.19",
            "2.0.18",
            "2.0.17",
            "2.0.15",
            "2.0.14",
            "2.0.13",
            "2.0.12",
            "2.0.11",
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "1.3.11",
            "1.3.10",
            "1.3.9",
            "1.3.8",
            "1.3.7",
            "1.3.6",
            "1.3.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5760.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.202559992Z",
      "provider": "osv",
      "references": [
        "https://plugins.trac.wordpress.org/changeset/3267487/",
        "https://simple-history.com/support/detective-mode/",
        "https://wordpress.org/plugins/simple-history/#developers",
        "https://wordpress.org/support/topic/security-vulnerability-passwords-stored-as-plain-text-in-logs/",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/b6364415-da02-4236-b635-d8fbd27faa33?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5760.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-5760",
        "https://github.com/bonny/WordPress-Simple-History/issues/546",
        "https://github.com/bonny/WordPress-Simple-History/commit/68eab0cab6882eafef4bfece884093eeda5ac018"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-256"
        ],
        "cna_assigner": "Wordfence",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5760.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-5760",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500428,
  "published_at": "2025-06-06T11:13:16.129+00:00"
}