Skip to main content

CVE-2024-8851: CWE-79 Cross-Site Scripting (XSS) in Unknown Polls CP

Medium
VulnerabilityCVE-2024-8851cvecve-2024-8851cwe-79
Published: Thu May 15 2025 (05/15/2025, 20:07:18 UTC)
Source: CVE
Vendor/Project: Unknown
Product: Polls CP

Description

The Polls CP WordPress plugin before 1.0.77 does not sanitise and escape some of its poll settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multi site setup).

AI-Powered Analysis

AILast updated: 07/04/2025, 15:58:34 UTC

Technical Analysis

CVE-2024-8851 is a medium-severity vulnerability classified as CWE-79 (Cross-Site Scripting, XSS) affecting the Polls CP WordPress plugin versions prior to 1.0.77. The vulnerability arises because certain poll settings within the plugin are not properly sanitized or escaped before being rendered. This flaw allows users with high privileges, such as administrators, to inject and store malicious scripts (Stored XSS) even when the WordPress capability 'unfiltered_html' is disabled, which is a common restriction in multisite WordPress environments. The vulnerability requires the attacker to have at least privileged access (PR:L) and some user interaction (UI:R) to trigger the exploit, but it can lead to a scope change (S:C) where the impact extends beyond the initially compromised component. The CVSS 3.1 base score is 5.4, reflecting a medium severity level with network attack vector (AV:N), low attack complexity (AC:L), and limited confidentiality and integrity impact (C:L, I:L), but no impact on availability (A:N). Although no known exploits are currently reported in the wild, the vulnerability could be leveraged by malicious insiders or compromised admin accounts to execute arbitrary JavaScript in the context of other administrators or users, potentially leading to session hijacking, privilege escalation, or further compromise of the WordPress multisite environment.

Potential Impact

For European organizations using WordPress multisite setups with the Polls CP plugin, this vulnerability poses a moderate risk. The ability for a high-privilege user to inject persistent malicious scripts can undermine the integrity and confidentiality of the affected sites. Attackers could steal session cookies, perform actions on behalf of other administrators, or manipulate poll data and settings, which could affect organizational decision-making processes or public-facing content. Given the widespread use of WordPress in Europe for corporate, governmental, and non-profit websites, exploitation could lead to reputational damage, data breaches, and unauthorized administrative actions. The impact is particularly relevant for organizations with multiple administrators or contributors where privilege separation is critical. However, the requirement for high privileges and user interaction limits the risk from external attackers without insider access or compromised credentials.

Mitigation Recommendations

European organizations should immediately update the Polls CP plugin to version 1.0.77 or later where this vulnerability is fixed. Until the update is applied, administrators should restrict the number of users with high privileges and enforce strong authentication mechanisms such as multi-factor authentication (MFA) to reduce the risk of account compromise. Additionally, review and harden user roles and capabilities to minimize unnecessary admin access. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and monitor logs for suspicious activity related to poll settings changes. Regularly audit installed plugins for updates and vulnerabilities, and consider isolating critical WordPress multisite environments from less trusted users. Employ web application firewalls (WAFs) with XSS detection capabilities to provide an additional layer of defense.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WPScan
Date Reserved
2024-09-13T18:35:19.248Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682cd0f91484d88663aeba67

Added to database: 5/20/2025, 6:59:05 PM

Last enriched: 7/4/2025, 3:58:34 PM

Last updated: 7/30/2025, 1:34:21 PM

Views: 12

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats