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

5.4
Improper Neutralization of Special Elements used in an SQL Command
CVE CVE-2024-13426
CVSS 5.4 (Medium)
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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WP-Polls

Software Type Plugin
Software Slug wp-polls (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.77.3, or a newer patched version
Affected Version
  • <= 2.77.2
Patched Version
  • 2.77.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation