{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3799",
 "modified": "2026-11-24T15:46:58Z",
 "published": "2026-11-24T15:46:58Z",
 "summary": "Rich Table of Contents <= 1.4.3 - Unauthenticated Missing Authorization to Table of Contents Color Settings Update",
 "details": "The Rich Table of Contents plugin for WordPress is vulnerable to unauthorized modification of data via the table of contents color settings in all versions up to, and including, 1.4.3, due to a missing capability check and missing nonce verification in the rtoc_sanitize() function, which ran on every page load and saved color values taken from the request with update_option(). This makes it possible for unauthenticated attackers to change the plugin's table of contents color settings to arbitrary hex color values.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "rich-table-of-content"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.4.5"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.4.5"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3799/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/rich-table-of-content/tags/1.4.5/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/rich-table-of-content/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3799/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "NO AUTHORISATION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
