CVE-2024-7304 Cross-site scripting in Ninja Tables – Easy Data Table Builder
Authenticated attackers can inject arbitrary scripts via SVG uploads, leading to code execution when users view the file.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-7304?
CVE-2024-7304 is a medium-severity cross-site scripting vulnerability in techjewel Ninja Tables – Easy Data Table Builder, published on 27 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Ninja Tables – Easiest Data Table Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 5.0.12 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file.
Weakness: CWE-79
Which versions are affected by CVE-2024-7304?
It affects 1 product.
Products include Wpmanageninja Ninja Tables.
How do I fix CVE-2024-7304?
No fix has been published for CVE-2024-7304 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-7304 being exploited?
There is no known exploitation of CVE-2024-7304 in the wild and no public exploit code.
Other vulnerabilities in techjewel Ninja Tables – Easy Data Table Builder
- CVE-2025-2940 Ninja Tables – Easy Data Table Builder <= 5.0.18 - Unauthenticated Server-Side Request Forgery
- CVE-2024-12772 Ninja Tables < 5.0.17 - Admin+ Stored XSS
- CVE-2022-47137 WordPress Ninja Tables Plugin <= 4.3.4 is vulnerable to Cross Site Scripting (XSS)
- CVE-2025-2939 Deserialization in Ninja Tables – Easy Data Table Builder
- CVE-2024-23504 WordPress Ninja Tables plugin <= 5.0.5 - Broken Access Control vulnerability
Sources
Also known as GHSA-w7wj-5p2p-g7p7.