{
 "id": "WPSEC-2026-0460",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0460/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0460/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0460/index.md",
 "title": "MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites <= 6.2.1 - Unauthenticated PHP Object Injection via Clone/Restore Database Values",
 "description": "The MainWP Child plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 6.2.1 via deserialization of untrusted input in the recursive_unserialize_replace function. When a site is cloned or restored, every serialized-looking value in the restored database is passed to unserialize() without restricting allowed classes. This makes it possible for unauthenticated attackers to place a serialized PHP object in a stored value they can write, such as a comment, which is instantiated when an administrator later clones or restores a backup containing that value. Impact depends on a POP chain being available through the site's installed plugins or themes, which could allow file deletion, sensitive data retrieval, or code execution.",
 "plugin": {
  "slug": "mainwp-child",
  "name": "MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites",
  "full_name": "MainWP Child – Securely Connects to the MainWP Dashboard to Manage Multiple Sites",
  "wordpress_org": "https://wordpress.org/plugins/mainwp-child/",
  "advisories_url": "https://wpsec.com/vuln/plugin/mainwp-child/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/mainwp-child"
 },
 "type": "OBJECT INJECTION",
 "cwe": [
  "CWE-502"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.5,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "6.2.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 6.2.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "6.2.2",
 "remediation": "Update to 6.2.2 or later.",
 "fix_released": "2026-10-05T16:03:00+00:00",
 "published": "2026-10-06T17:44:03+00:00",
 "updated": "2026-10-06T16:46:14.379426+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0460/",
  "https://plugins.svn.wordpress.org/mainwp-child/tags/6.2.2/",
  "https://wordpress.org/plugins/mainwp-child/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/mainwp-child",
 "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-06"
 }
}