WP-Polls <= 2.77.2 - Unauthenticated SQL Injection to Stored Cross-Site Scripting

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-13426
CVSS Medium (5.4)
Publicly Published January 21, 2025
Last Updated January 22, 2025
Researcher Jack Taylor
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.

References

1 affected software package

Software Type Plugin
Software Slug wp-polls (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.77.2
Patched Version
  • 2.77.3
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.