Plugins · luckywp-table-of-contents · data as of 2026-11-29
Is LuckyWP Table of Contents safe? Known vulnerabilities and latest version
- Latest version
- 2.1.15
- Last updated
- 2026-11-27
- Active installs
- 90,000+
- Known issues on record
- 6
- Unpatched in latest
- 0
- Tested up to WP
- 6.7.12 · PHP 5.6.20+
Creates SEO-friendly table of contents for your posts/pages. Works automatically or manually (via shortcode, Gutenberg block or widget). — by LuckyWP
What to do
- Update to the latest version (2.1.15). Anything older than 2.1.11 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.
With WP-CLI: wp plugin get luckywp-table-of-contents --field=version shows what you run; wp plugin update luckywp-table-of-contents updates it.
Check your version
Running more than one plugin? Paste your whole plugin list and check them all at once.
Known vulnerabilities
6 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.
medium 6.1 CVE-2025-2299 · published 2025-04-03
Cross-site request forgery (CSRF) in LuckyWP Table of Contents (2.1.10 and older)
- Affected
- 2.1.10 and older
- Fixed in
- 2.1.11 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
The LuckyWP Table of Contents plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.1.10. This is due to missing or incorrect nonce validation on the 'ajaxEdit' function. This makes it possible for unauthenticated attackers to inject arbitrary web scripts via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
NVD CVE-2025-2299Wordfence advisoryCode change (fix)Plugin source
medium 4.8 CVE-2024-9641 · published 2024-12-12
Stored cross-site scripting (XSS) in LuckyWP Table of Contents (older than 2.1.7)
- Affected
- older than 2.1.7
- Fixed in
- 2.1.7
- Access needed (per CVSS)
- Needs an admin-level account; someone on the site has to click a link or open a page
- Range from
- CVE record · score by CISA ADP
Details from the advisory
The LuckyWP Table of Contents WordPress plugin before 2.1.7 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).
medium 4.6 CVE-2024-2218 · published 2024-06-14
Stored cross-site scripting (XSS) in LuckyWP Table of Contents (2.1.4 and older)
- Affected
- 2.1.4 and older
- Fixed in
- 2.1.5 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record · score by CISA ADP
Details from the advisory
The LuckyWP Table of Contents WordPress plugin through 2.1.4 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
medium 6.1 CVE-2024-2119 · published 2024-05-22
Reflected cross-site scripting (XSS) in LuckyWP Table of Contents (2.1.5 and older)
- Affected
- 2.1.5 and older
- Fixed in
- 2.1.6 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
The LuckyWP Table of Contents plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the attrs parameter in all versions up to, and including, 2.1.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
NVD CVE-2024-2119Wordfence advisoryCode change (fix)wordpress.org
medium 4.8 CVE-2024-2953 · published 2024-05-22
Stored cross-site scripting (XSS) in LuckyWP Table of Contents (2.1.4 and older)
- Affected
- 2.1.4 and older
- Fixed in
- 2.1.5 *
- Access needed (per CVSS)
- Needs an admin-level account; someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
The LuckyWP Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple parameters in versions up to, and including, 2.1.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with Contributor permissions and above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
NVD CVE-2024-2953Wordfence advisoryCode change (fix)Plugin source
medium 5.4 CVE-2023-6487 · published 2024-05-22
Stored cross-site scripting (XSS) in LuckyWP Table of Contents (2.1.4 and older)
- Affected
- 2.1.4 and older
- Fixed in
- 2.1.5 *
- Access needed (per CVSS)
- Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
- Range from
- CVE record · score by NVD
Details from the advisory
The LuckyWP Table of Contents plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘Header Title' field in all versions up to and including 2.1.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled. CVE-2024-2218 appears to be a duplicate of this issue.
NVD CVE-2023-6487Wordfence advisoryCode change (fix)wordpress.org
Recent activity
- 2026-11-27 — latest release on wordpress.org (2.1.15).
- 2025-04-03 — Cross-site request forgery (CSRF) disclosed (CVE-2025-2299), fixed in 2.1.11.
- 2024-12-12 — Stored cross-site scripting (XSS) disclosed (CVE-2024-9641), fixed in 2.1.7.
- 2024-06-14 — Stored cross-site scripting (XSS) disclosed (CVE-2024-2218), fixed in 2.1.5.
Get an email when LuckyWP Table of Contents has a new vulnerability
Free. One email when a new LuckyWP Table of Contents issue is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Closed on wordpress.org
- Check your whole plugin list
Types found in this plugin: Cross-site scripting (XSS) (5) · Cross-site request forgery (CSRF) (1)
Questions about LuckyWP Table of Contents
Is LuckyWP Table of Contents safe to use?
No known unpatched vulnerabilities in the latest version (2.1.15). As of 2026-11-29. 6 issues are on record for older versions; version 2.1.11 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep LuckyWP Table of Contents on the latest version (2.1.15) and remove it if you do not use it.
Which versions of LuckyWP Table of Contents are vulnerable?
Known issues on record (newest first): Cross-site request forgery (CSRF) (2.1.10 and older, fixed in 2.1.11); Stored cross-site scripting (XSS) (older than 2.1.7, fixed in 2.1.7); Stored cross-site scripting (XSS) (2.1.4 and older, fixed in 2.1.5); Reflected cross-site scripting (XSS) (2.1.5 and older, fixed in 2.1.6). The full list with sources is on this page.
What is the latest version of LuckyWP Table of Contents?
2.1.15, according to wordpress.org (last updated 2026-11-27). It has 90,000+ active installs.
What should I do if my LuckyWP Table of Contents is out of date?
Take a backup, then update it from Dashboard > Updates (or run wp plugin update luckywp-table-of-contents). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/luckywp-table-of-contents (Plugins API), fetched 2026-11-29.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- We list a CVE only when its references or advisory name this exact plugin, so a few real issues may be missing. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/luckywp-table-of-contents"><img src="https://laskyr.com/plugins/luckywp-table-of-contents/badge.svg" alt="LuckyWP Table of Contents vulnerability status"></a>