# CVE-2024-13426: WP-Polls <= 2.77.2 - Unauthenticated SQL Injection to Stored Cross-Site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-01-22T02:20:24.893Z
- Modified: 2026-06-17T07:01:59.423Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- gamerz WP-Polls: up to 2.77.2
- wp-polls_project wp-polls: before 2.77.3

## Every score

- Wordfence: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/b76de574-2627-46cd-9817-134a009ac3bd?source=cve> (third-party-advisory)
- <https://github.com/lesterchan/wp-polls/blob/97ab44c2d4c3a3d308ce8b87dae8b2a8f7147f0e/wp-polls.php#L1378> (patch)
- <https://github.com/lesterchan/wp-polls/blob/97ab44c2d4c3a3d308ce8b87dae8b2a8f7147f0e/wp-polls.php#L1416> (patch)
- <https://github.com/lesterchan/wp-polls/blob/97ab44c2d4c3a3d308ce8b87dae8b2a8f7147f0e/polls-logs.php#L97> (patch)
- <https://github.com/lesterchan/wp-polls/blob/97ab44c2d4c3a3d308ce8b87dae8b2a8f7147f0e/polls-logs.php#L294> (patch)
- <https://github.com/WordPress/wordpress-develop/blob/a82874058f58575dbba64ce09b6dcbd43ccf5fdc/src/wp-includes/default-constants.php#L249> (patch)
- <https://wordpress.org/plugins/wp-polls/> (product)
- <https://github.com/lesterchan/wp-polls> (product)
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3224709%40wp-polls%2Ftrunk&old=2949758%40wp-polls%2Ftrunk&sfp_email=&sfph_mail=> (patch)

## Sources

- CVE List: [CVE-2024-13426](https://www.cve.org/CVERecord?id=CVE-2024-13426), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-13426](https://nvd.nist.gov/vuln/detail/CVE-2024-13426), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-13426 · Whole record: https://cve.day/CVE-2024-13426.json · Rebuilt by cve.day 2026-11-25T22:58:51.176Z
