Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-50025

MEDIUM · 5.9 CVSS v3.1 Published 2025-06-20
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
63/100
Remediation priority · Elevated
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in codepeople CP Polls cp-polls allows Stored XSS.This issue affects CP Polls: from n/a through <= 1.0.81.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

Stored Cross-site Scripting (XSS) vulnerability in the CP Polls WordPress plugin allows authenticated or unauthenticated attackers to inject malicious JavaScript code into poll inputs. The injected payload is stored in the database and executes when administrators or users view the poll results or related pages.

MitigationUpgrade CP Polls to the latest version which includes proper input validation and output encoding. If no patch available, implement WAF rules to block XSS payloads and restrict poll creation to trusted users only.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if CP Polls plugin is installed
    In WordPress admin, go to Plugins > Installed Plugins and look for 'CP Polls' or 'CP Polls - simple survey plugin' in the list. Alternatively, check the /wp-content/plugins/ directory for a folder containing 'cp-polls' or similar.
    Affected if CP Polls plugin is present in the WordPress installation
  2. Determine the installed version of CP Polls
    In WordPress admin, go to Plugins > Installed Plugins, find CP Polls, and note the version number displayed under the plugin name. Compare this version against any known affected versions.
    Affected if The installed version is older than the patched version or is an unpatched release containing the vulnerability
  3. Inspect existing polls for suspicious content
    Access the WordPress database via phpMyAdmin or command line and query the polls table (often wp_cp_polls or similar naming convention) for any poll entries containing HTML, script tags, or JavaScript keywords in question/answer fields. Look for patterns like <script>, javascript:, onload=, onerror=, or encoded payloads.
    Affected if Any poll records contain unsanitized HTML or JavaScript code that was not intentionally created by an administrator
  4. Check poll creation permissions
    Review WordPress user roles and capabilities to determine which users can create or edit polls. Check under CP Polls settings or WordPress user role settings for 'manage_polls' or similar capabilities.
    Affected if Untrusted or unauthenticated users have the ability to create or modify polls, allowing injection of malicious scripts
  5. Examine recent poll activity logs
    If available, review CP Polls activity logs, WordPress audit logs, or server access logs for recent poll creation/modification requests containing XSS payloads or unusual patterns.
    Affected if Recent poll modifications contain suspicious input patterns consistent with XSS exploitation attempts

A user is affected if the CP Polls plugin is installed, contains an unpatched version, has existing polls with injected JavaScript code, or allows untrusted users to create polls.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade CP Polls to the latest version which includes proper input validation and output encoding. If no patch available, implement WAF rules to block XSS payloads and restrict poll creation to trusted users only.

Recommended fix Moderate confidence

Update to the latest version of CP Polls (version higher than 1.0.81) when available in the WordPress plugin repository

  1. 1. Check the current installed version of the CP Polls plugin by codepeople in your WordPress installation
  2. 2. Navigate to Plugins > Installed Plugins in the WordPress admin dashboard
  3. 3. Locate 'CP Polls' and note the current version number
  4. 4. Visit the official WordPress plugin repository or the codepeople website to check for the latest available version
  5. 5. If a version newer than 1.0.81 is available, update the plugin to the latest version which should contain the XSS fix
  6. 6. After updating, verify the patch was applied by checking the plugin version
  7. 7. Test the polling functionality to ensure it works correctly after the update
  8. 8. Consider implementing additional input sanitization on the web server level as a temporary mitigation if update is not immediately possible

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing1.0 h
  • Review / QA1.0 h
7.0 hours of engineering $1,270
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,032.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-50025 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-50025 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data