CVE-2024-8854
WordPress vulnerability analysis and mitigation

Overview

The Polls CP WordPress plugin before version 1.0.77 contains a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2024-8854. The vulnerability was discovered in the poll settings functionality where insufficient sanitization and escaping of input allows high-privilege users such as administrators to perform stored XSS attacks, even when the unfiltered_html capability is disallowed, such as in multi-site setups (WPScan).

Technical details

The vulnerability exists due to improper sanitization and escaping of poll settings in the plugin. The issue specifically affects the custom styles functionality accessible through the plugin's administration interface. According to the proof of concept, an attacker can inject malicious JavaScript code through the CSS settings page at '/wp-admin/admin.php?page=CP_Polls&edit=1&cal=1&item=css&r=0'. The vulnerability has been assigned a CVSS v3.1 score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (CISA-ADP).

Impact

When exploited, this vulnerability allows high-privilege users to store and execute malicious JavaScript code that will be triggered when other users view pages containing the affected polls. This could lead to various attacks including cookie theft, session hijacking, or other client-side attacks against site administrators and users (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 1.0.77 of the Polls CP WordPress plugin. Site administrators are advised to update to this version or later to mitigate the risk (WPScan).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management