Luckywp Table of Contents (WordPress plugin): is it safe?

Short answer: Version 2.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

WordPress luckywp-table-of-contents has 6 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

6advisories
0critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2024-9641The LuckyWP Table of Contents WordPress plugin before 2.1.7 does not sanitise and escape some of its settings, which could allow high privilmedium4.8<2.1.72.1.7
CVE-2024-2119The LuckyWP Table of Contents plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the attrs parameter in all versions umedium6.1<2.1.52.1.5
CVE-2024-2218The LuckyWP Table of Contents WordPress plugin through 2.1.4 does not sanitise and escape some of its settings, which could allow high privimedium4.6<2.1.62.1.6
CVE-2024-2953The LuckyWP Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple parameters in versions up to, amedium5.5<2.1.52.1.5
CVE-2023-6487The LuckyWP Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘Header Title' field in all versionsmedium4.4<2.1.52.1.5
CVE-2025-2299The LuckyWP Table of Contents plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.1.10.medium6.1<2.1.112.1.11

Quick answers

Is Luckywp Table of Contents safe to use?

Version 2.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is Luckywp Table of Contents being actively exploited?

None of its 6 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/wordpress-plugin/luckywp-table-of-contents.svg)](https://phpwarden.io/packages/wordpress-plugin/luckywp-table-of-contents)