CVE-2024-13426 WP-Polls <= 2.77.2 - Unauthenticated SQL Injection to Stored Cross-Site Scripting
Unauthenticated attackers can inject SQL to achieve stored XSS, allowing malicious script execution in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-13426?
CVE-2024-13426 is a medium-severity SQL injection vulnerability in gamerz WP-Polls, published on 22 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The WP-Polls plugin for WordPress is vulnerable to SQL Injection via COOKIE in all versions up to, and including, 2.77.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries. Those queries are stored and results are not displayed to the attacker, which means they cannot be exploited to obtain any additional information about the database. However, a properly configured payload allows for the injection of malicious JavaScript resulting in Stored Cross-Site Scripting.
Weakness: CWE-89
Which versions are affected by CVE-2024-13426?
It affects 1 product.
Products include Wp-Polls Project Wp-Polls.
How do I fix CVE-2024-13426?
No fix has been published for CVE-2024-13426 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-13426 being exploited?
There is no known exploitation of CVE-2024-13426 in the wild and no public exploit code.
Other vulnerabilities in gamerz WP-Polls
Sources
Also known as GHSA-374j-m43w-98jg.