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

7.5
Deserialization of Untrusted Data
CVE CVE-2026-2471
CVSS 7.5 (High)
Publicly Published February 27, 2026
Last Updated February 28, 2026
Researcher Quốc Huy (jtwings) - Puramu

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.

References

Share

Vulnerability Details for WP Mail Logging

Software Type Plugin
Software Slug wp-mail-logging (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.16, or a newer patched version
Affected Version
  • <= 1.15.0
Patched Version
  • 1.16

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation