CVE-2025-50025
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 · uneditedImproper 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 confidenceStored 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Identify if CP Polls plugin is installedIn 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
-
Determine the installed version of CP PollsIn 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
-
Inspect existing polls for suspicious contentAccess 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
-
Check poll creation permissionsReview 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
-
Examine recent poll activity logsIf 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.
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 · scopedUpgrade 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.
Update to the latest version of CP Polls (version higher than 1.0.81) when available in the WordPress plugin repository
- 1. Check the current installed version of the CP Polls plugin by codepeople in your WordPress installation
- 2. Navigate to Plugins > Installed Plugins in the WordPress admin dashboard
- 3. Locate 'CP Polls' and note the current version number
- 4. Visit the official WordPress plugin repository or the codepeople website to check for the latest available version
- 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. After updating, verify the patch was applied by checking the plugin version
- 7. Test the polling functionality to ensure it works correctly after the update
- 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.
- Consultation2.0 h
- Implementation3.0 h
- Testing1.0 h
- Review / QA1.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-50025 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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