CVE-2016-20066: WordPress CP Polls persistent XSS in file upload and settings

CVE-2016-20066 · Severity: high · CVSS 7.2 · Published 2026-06-15

CP Polls is a WordPress plugin used to create and manage interactive polls on websites. A security flaw in version 1.0.8 allows attackers to inject malicious scripts into the website through the plugin's file upload and settings features. If exploited, this could allow an attacker to hijack user sessions, redirect visitors to malicious sites, or deface the website's content.

Vendors: CodePeople.

Quick answers

Is CVE-2016-20066 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2016-20066 being exploited in the wild.
How severe is CVE-2016-20066?
High severity, with a CVSS score of 7.2, published 15 June 2026.
Which products and versions are affected?
CodePeople CP Polls 1.0.8 and earlier.
Is there a fix for CVE-2016-20066?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2016-20066 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2016-20066?
Check whether you run CodePeople CP Polls at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

WordPress CP Polls 1.0.8 is vulnerable to persistent Cross-Site Scripting (XSS) due to improper sanitization of user-supplied input in its file upload functionality and poll configuration settings. Attackers can upload files or submit poll data containing malicious JavaScript payloads, such as event handlers (e.g., 'onerror'), which are then stored on the server. When other users, including administrators, view the affected poll or uploaded content, the script executes in their browser context. Additionally, the plugin lacks CSRF protection on its settings page, allowing an attacker to perform these injections by tricking an authenticated administrator into clicking a malicious link. This can lead to full session hijacking or unauthorized administrative actions.

Affected products

  • CodePeople CP Polls 1.0.8 and earlier

Timeline

  • 2016-02-22: disclosed: Initial discovery and exploit documentation by researcher
  • 2016-03-01: other: Exploit published on Exploit-DB
  • 2026-06-15: advisory: CVE record published and NVD dataset updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.