CVE-2024-2119 LuckyWP Table of Contents <= 2.1.5 - Reflected Cross-Site Scripting
Unauthenticated attackers can inject arbitrary web scripts via the attrs parameter, executing code in victim browsers if they click a crafted link.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-2119?
CVE-2024-2119 is a medium-severity cross-site scripting vulnerability in theluckywp LuckyWP Table of Contents, published on 22 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2024-2119?
It affects 1 product.
Products include Theluckywp Luckywp Table of Contents.
How do I fix CVE-2024-2119?
No fix has been published for CVE-2024-2119 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-2119 being exploited?
There is no known exploitation of CVE-2024-2119 in the wild and no public exploit code.
Other vulnerabilities in theluckywp LuckyWP Table of Contents
- CVE-2025-2299 LuckyWP Table of Contents <= 2.1.10 - Cross-Site Request Forgery to Reflected Cross-Site Scripting
- CVE-2024-2953 LuckyWP Table of Contents <= 2.1.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
- CVE-2024-9641 LuckyWP Table of Contents < 2.1.7 - Admin+ Stored XSS
- CVE-2024-2218 LuckyWP Table of Contents <= 2.1.4 - Admin+ Stored XSS
- CVE-2023-6487 LuckyWP Table of Contents <= 2.1.5 - Authenticated (Administrator+) Cross-Site Scripting
Sources
Also known as GHSA-pg78-5grf-jf97.