{
 "id": "WPSEC-2026-4064",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4064/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4064/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4064/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4064.json",
 "title": "VK Post Author Display <= 1.28.2 - Authenticated (Editor+) Stored Cross-Site Scripting via Term Color",
 "description": "The VK Post Author Display plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the category/tag color ('term_color') setting in all versions up to, and including, 1.28.2. This is due to insufficient input sanitization and output escaping. The submitted color was saved without sanitization. The hex check in sanitize_hex() was anchored only at the end of the string, so any value ending in three or six hex characters passed. The value was then printed unescaped into the style attribute of the post's category label on the front end and into the value attribute of the term edit form. This makes it possible for authenticated attackers who can edit terms (Editor-level access and above by default, or lower roles when the color is enabled on custom taxonomies with weaker capabilities), and who lack the unfiltered_html capability, to inject arbitrary web scripts in pages that will execute whenever a user accesses an affected page.",
 "plugin": {
  "slug": "vk-post-author-display",
  "name": "VK Post Author Display",
  "full_name": "VK Post Author Display",
  "wordpress_org": "https://wordpress.org/plugins/vk-post-author-display/",
  "advisories_url": "https://wpsec.com/vuln/plugin/vk-post-author-display/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/vk-post-author-display"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.0.0",
    "from_inclusive": true,
    "to": "1.28.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.0.0 before 1.28.3"
  ]
 },
 "introduced_in": "1.0.0",
 "fixed_in": "1.28.3",
 "remediation": "Update to 1.28.3 or later.",
 "fix_released": "2026-11-26T06:31:57+00:00",
 "published": "2026-11-27T06:46:38+00:00",
 "updated": "2026-11-26T12:17:36.701819+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4064/",
  "https://plugins.svn.wordpress.org/vk-post-author-display/tags/1.28.3/",
  "https://wordpress.org/plugins/vk-post-author-display/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/vk-post-author-display",
 "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-27"
 }
}