CVE-2024-5177: Hash Elements <= 1.3.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via url Parameter in Multiple Widgets
The Hash Elements plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'url' parameter within multiple widgets in all versions up to, and including, 1.3.8 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
WordPress plugin: Hash Elementsto a version that resolves this vulnerability.Fixed in 1.3.8
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5177?
CVE-2024-5177 is rated as a high severity vulnerability due to its potential for allowing stored cross-site scripting attacks.
How do I fix CVE-2024-5177?
To fix CVE-2024-5177, update the Hash Elements plugin to version 1.3.9 or later, which includes patches for the vulnerability.
What are the risks of exploiting CVE-2024-5177?
Exploiting CVE-2024-5177 could lead to unauthorized script execution within a user's browser, compromising user data and site integrity.
Which versions of the Hash Elements plugin are affected by CVE-2024-5177?
CVE-2024-5177 affects all versions of the Hash Elements plugin up to and including version 1.3.8.
What input is vulnerable in CVE-2024-5177?
CVE-2024-5177 is vulnerable due to insufficient sanitization and output escaping on the 'url' parameter within multiple widgets.