{
 "id": "WPSEC-2026-0868",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0868/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0868/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0868/index.md",
 "title": "YayMail – WooCommerce Email Customizer <= 4.4.6 - Authenticated (Shop Manager+) PHP Object Injection via Backup State Import",
 "description": "The YayMail – WooCommerce Email Customizer plugin for WordPress is vulnerable to PHP Object Injection via the backup state import (yaymail_import_state AJAX action) in all versions up to, and including, 4.4.6. This is due to deserialization of untrusted input. Imported postmeta and option values were unserialized with allowed_classes set to false, and only a top-level object was rejected. Objects nested inside arrays survived as incomplete objects. When the values were saved with add_post_meta() and update_option(), these incomplete objects were serialized again under their original class names, and WordPress later instantiates them with maybe_unserialize() when it reads the values back. This makes it possible for authenticated attackers with Shop Manager-level access and above to inject a PHP object through a crafted backup ZIP file. No known POP chain is present in the vulnerable plugin itself. If a POP chain is present through another plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.",
 "plugin": {
  "slug": "yaymail",
  "name": "YayMail – WooCommerce Email Customizer",
  "full_name": "YayMail – WooCommerce Email Customizer",
  "wordpress_org": "https://wordpress.org/plugins/yaymail/",
  "advisories_url": "https://wpsec.com/vuln/plugin/yaymail/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/yaymail"
 },
 "type": "OBJECT INJECTION",
 "cwe": [
  "CWE-502"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.6,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.2.0",
    "from_inclusive": true,
    "to": "4.4.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.2.0 before 4.4.7"
  ]
 },
 "introduced_in": "4.2.0",
 "fixed_in": "4.4.7",
 "remediation": "Update to 4.4.7 or later.",
 "fix_released": "2026-10-13T02:36:36+00:00",
 "published": "2026-10-14T02:42:48+00:00",
 "updated": "2026-10-13T12:13:13.336067+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0868/",
  "https://plugins.svn.wordpress.org/yaymail/tags/4.4.7/",
  "https://wordpress.org/plugins/yaymail/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/yaymail",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-13"
 }
}