{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4217",
 "modified": "2026-11-29T01:42:43Z",
 "published": "2026-11-29T01:42:43Z",
 "summary": "CP Related Posts <= 1.2.0 - Authenticated (Contributor+) PHP Object Injection via 'cprp_tags' Post Meta",
 "details": "The CP Related Posts plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.2.0, due to deserialization of untrusted input from the 'cprp_tags' post meta value. When related posts are generated, the value is passed to unserialize() without restricting allowed classes, both when it is read as a string with get_post_meta() and when the raw meta_value of other published posts is read from the database. The 'cprp_tags' meta key is not protected, so users who can edit a post can set it as a custom field. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject a PHP object. No known POP chain is present in the plugin itself. If a POP chain is present via another plugin or theme 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:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "cp-related-posts"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.3.0"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.3.0"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4217/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/cp-related-posts/tags/1.3.0/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/cp-related-posts/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4217/",
  "cwe_ids": [
   "CWE-502"
  ],
  "vulnerability_type": "OBJECT INJECTION",
  "severity": "High",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
