CVE-2026-2471

WP Mail Logging <= 1.15.0 - Unauthenticated PHP Object Injection via Email Log Message Field

Published Feb 28, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
The WP Mail Logging plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.15.0 via deserialization of untrusted input from the email log message field. This is due to the `BaseModel` class constructor calling `maybe_unserialize()` on all properties retrieved from the database without validation. This makes it possible for unauthenticated attackers to inject a PHP Object by submitting a double-serialized payload through any public-facing form that sends email (e.g., Contact Form 7). When the email is logged and subsequently viewed by an administrator, the malicious payload is deserialized into an arbitrary PHP object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present.

Analysis

AI-generated

Technical impact

The WP Mail Logging plugin (smub) allows attackers to inject a PHP object through the email log message field. The vulnerability arises because the BaseModel constructor blindly unserializes all properties from the database without validation. An unauthenticated attacker can submit a double‑serialized payload via any public form that sends email, and when an administrator later views the logged email, the payload is deserialized into an arbitrary PHP object. No standalone execution path exists in the plugin itself; the impact becomes real only if another plugin or theme provides a POP chain such as __wakeup or __destruct hooks that can perform destructive actions, data exfiltration, or code execution.

Affected Systems

WordPress sites running WP Mail Logging version 1.15.0 or earlier developed by smub. The flaw targets the plugin’s email logging functionality, which is triggered by any public‑facing form that sends e‑mail, such as Contact Form 7. The vulnerability is only exploitable if an administrator views the email logs and if a separate component supplies a POP chain.

Risk and Exploitability

The CVSS score is 7.5, indicating a high severity. The EPSS score is reported as less than 1%, reflecting the low likelihood that attackers will target this vulnerability at present. The flaw is not listed in the CISA KEV catalogue. Attackers can gain unauthenticated access by submitting malicious content via public forms. Exploitation requires the malicious payload to be deserialized when an admin inspects the email log, and a downstream POP chain is necessary for any consequential damage. Given the dependency on an additional component and the low EPSS, the practical risk is moderate, but the potential for RCE if a POP chain exists warrants timely mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WP Mail Logging to the latest version that eliminates the deserialization flaw once it is released
  • Disable or uninstall the plugin if email logging is not essential to site operation
  • Configure the site so that only trusted administrators can view email logs, preventing accidental deserialization of malicious payloads

Generated by OpenCVE AI on April 15, 2026 at 20:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Smub
Smub wp Mail Logging
Wordpress
Wordpress wordpress
Vendors & Products Smub
Smub wp Mail Logging
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The WP Mail Logging plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.15.0 via deserialization of untrusted input from the email log message field. This is due to the `BaseModel` class constructor calling `maybe_unserialize()` on all properties retrieved from the database without validation. This makes it possible for unauthenticated attackers to inject a PHP Object by submitting a double-serialized payload through any public-facing form that sends email (e.g., Contact Form 7). When the email is logged and subsequently viewed by an administrator, the malicious payload is deserialized into an arbitrary PHP object. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present.
Title WP Mail Logging <= 1.15.0 - Unauthenticated PHP Object Injection via Email Log Message Field
Weaknesses CWE-502
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:36 PM
Reserved
Feb 13, 2026, 3:25 PM
Status
Deferred
Published
Feb 28, 2026, 7:15 AM
Modified
Jun 17, 2026, 10:31 AM