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.
Published: 2026-02-28
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: PHP Object Injection that could lead to Remote Code Execution if a POP chain is present
Action: Assess Impact
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 02 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 02 Mar 2026 12:15:00 +0000

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

Sat, 28 Feb 2026 06:45:00 +0000

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'}


Subscriptions

Smub Wp Mail Logging
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:36:08.455Z

Reserved: 2026-02-13T15:25:20.955Z

Link: CVE-2026-2471

cve-icon Vulnrichment

Updated: 2026-03-02T19:41:15.855Z

cve-icon NVD

Status : Deferred

Published: 2026-02-28T07:15:57.677

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2471

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T20:15:13Z

Weaknesses