{
 "id": "WPSEC-2026-1780",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1780/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1780/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1780/index.md",
 "title": "Enable Media Replace <= 4.2.2 - Authenticated (Author+) PHP Object Injection via Database Replacement",
 "description": "The Enable Media Replace plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 4.2.2 via the database search and replace performed after a media replacement, due to unsafe handling of serialized data. This makes it possible for authenticated attackers, with Author-level access and above, to inject a PHP object under certain conditions. No known POP chain is present in the vulnerable software itself; if a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.",
 "plugin": {
  "slug": "enable-media-replace",
  "name": "Enable Media Replace",
  "full_name": "Enable Media Replace",
  "wordpress_org": "https://wordpress.org/plugins/enable-media-replace/",
  "advisories_url": "https://wpsec.com/vuln/plugin/enable-media-replace/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/enable-media-replace"
 },
 "type": "OBJECT INJECTION",
 "cwe": [
  "CWE-502"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.5,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.2.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.2.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.2.3",
 "remediation": "Update to 4.2.3 or later.",
 "fix_released": "2026-10-26T18:51:52+00:00",
 "published": "2026-10-27T19:45:08+00:00",
 "updated": "2026-10-27T13:04:47.717155+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1780/",
  "https://plugins.svn.wordpress.org/enable-media-replace/tags/4.2.3/",
  "https://wordpress.org/plugins/enable-media-replace/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/enable-media-replace",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-27"
 }
}