{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-1312",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-21T10:43:36Z",
 "summary": "Open Graphite <= 1.7.1 - Authenticated (Author+) Stored Cross-Site Scripting via Custom Image Field",
 "details": "The Open Graphite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the '_custom_image' post meta field in all versions up to, and including, 1.7.1. The value is saved with sanitize_text_field, which keeps double quotes, and is then echoed without escaping into the src and value attributes of the Open Graphite metabox. This makes it possible for authenticated attackers with author-level access and above to inject arbitrary web scripts that execute when an editor or administrator opens the post in the editor.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "open-graphite"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "2.0.0"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 2.0.0"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-1312/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/open-graphite/tags/2.0.0/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/open-graphite/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-1312/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
