{
 "id": "WPSEC-2026-4217",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4217/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4217/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4217/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4217.json",
 "title": "CP Related Posts <= 1.2.0 - Authenticated (Contributor+) PHP Object Injection via 'cprp_tags' Post Meta",
 "description": "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.",
 "plugin": {
  "slug": "cp-related-posts",
  "name": "CP Related Posts",
  "full_name": "CP Related Posts",
  "wordpress_org": "https://wordpress.org/plugins/cp-related-posts/",
  "advisories_url": "https://wpsec.com/vuln/plugin/cp-related-posts/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/cp-related-posts"
 },
 "type": "OBJECT INJECTION",
 "cwe": [
  "CWE-502"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.3.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.3.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.3.0",
 "remediation": "Update to 1.3.0 or later.",
 "fix_released": "2026-11-28T01:19:58+00:00",
 "published": "2026-11-29T01:42:43+00:00",
 "updated": "2026-11-28T10:53:03.264040+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4217/",
  "https://plugins.svn.wordpress.org/cp-related-posts/tags/1.3.0/",
  "https://wordpress.org/plugins/cp-related-posts/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/cp-related-posts",
 "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-11-28"
 }
}