CVE-2024-5177: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hashthemes Hash Elements
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.
AI Analysis
Technical Summary
CVE-2024-5177 is a stored cross-site scripting vulnerability in the Hash Elements WordPress plugin (versions up to 1.3.8). The issue stems from improper neutralization of input in the 'url' parameter within multiple widgets, allowing authenticated attackers with contributor or higher privileges to inject arbitrary JavaScript code. This code executes in the context of users viewing the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability is tracked under CWE-79 and has a CVSS 3.1 score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to inject persistent malicious scripts into pages served by the vulnerable plugin. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to information disclosure or other impacts related to script execution in the victim's context. There is no indication of availability impact. The vulnerability does not appear to be exploited in the wild at this time.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisories for updates. Until a fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Hash Elements plugin if possible to prevent exploitation.
CVE-2024-5177: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hashthemes Hash Elements
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-5177 is a stored cross-site scripting vulnerability in the Hash Elements WordPress plugin (versions up to 1.3.8). The issue stems from improper neutralization of input in the 'url' parameter within multiple widgets, allowing authenticated attackers with contributor or higher privileges to inject arbitrary JavaScript code. This code executes in the context of users viewing the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability is tracked under CWE-79 and has a CVSS 3.1 score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and requiring privileges but no user interaction.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to inject persistent malicious scripts into pages served by the vulnerable plugin. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to information disclosure or other impacts related to script execution in the victim's context. There is no indication of availability impact. The vulnerability does not appear to be exploited in the wild at this time.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisories for updates. Until a fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Hash Elements plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-21T16:33:26.836Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6bdeb7ef31ef0b55ba24
Added to database: 2/25/2026, 9:38:38 PM
Last enriched: 4/9/2026, 2:40:45 PM
Last updated: 4/12/2026, 7:57:57 AM
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.