{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-0868",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-14T02:42:48Z",
 "summary": "YayMail – WooCommerce Email Customizer <= 4.4.6 - Authenticated (Shop Manager+) PHP Object Injection via Backup State Import",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "yaymail"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "4.2.0"
      },
      {
       "fixed": "4.4.7"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 4.2.0 before 4.4.7"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-0868/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/yaymail/tags/4.4.7/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/yaymail/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-0868/",
  "cwe_ids": [
   "CWE-502"
  ],
  "vulnerability_type": "OBJECT INJECTION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
