Rich Table of Contents <= 1.4.3 - Unauthenticated Missing Authorization to Table of Contents Color Settings Update

Medium 5.3 CWE-862Fixed in 1.4.5
ID
WPSEC-2026-3799
Plugin
Rich Table of Contents (rich-table-of-content)
Affected
all versions before 1.4.5
Remediation
Update to 1.4.5 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-24
Attack surface
Rich Table of Contents on WPSec AttackSurface
Fix released
Published

Description

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0