Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-5141: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mpntod Rotating Tweets (Twitter widget and shortcode)

0
Medium
VulnerabilityCVE-2024-5141cvecve-2024-5141cwe-79
Published: Thu Jun 06 2024 (06/06/2024, 03:53:08 UTC)
Source: CVE Database V5
Vendor/Project: mpntod
Product: Rotating Tweets (Twitter widget and shortcode)

Description

CVE-2024-5141 is a stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin Rotating Tweets (Twitter widget and shortcode) by mpntod, affecting all versions up to 1. 9. 10. The flaw arises from improper input sanitization and output escaping on user-supplied attributes, allowing authenticated users with contributor-level access or higher to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, defacement, or further attacks. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authenticated access with limited privileges. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or mitigating this vulnerability to prevent exploitation, especially in environments with multiple contributors. Countries with significant WordPress usage and active web publishing communities are most at risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 02:24:51 UTC

Technical Analysis

CVE-2024-5141 is a stored Cross-Site Scripting (XSS) vulnerability identified in the mpntod Rotating Tweets WordPress plugin, which provides a Twitter widget and shortcode functionality. The vulnerability exists due to insufficient sanitization and escaping of user-supplied input in the 'rotatingtweets' attribute, allowing malicious scripts to be stored persistently in the website's content. Authenticated users with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages or posts. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, redirecting users, or performing unauthorized actions on their behalf. The vulnerability affects all versions up to and including 1.9.10 of the plugin. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and privileges required but no user interaction needed. The scope is changed, indicating that the vulnerability affects components beyond the initially vulnerable plugin, potentially impacting the entire WordPress site. No patches or fixes are currently linked, and no known exploits have been observed in the wild as of the publication date. This vulnerability is classified under CWE-79, which covers improper neutralization of input during web page generation leading to XSS.

Potential Impact

The primary impact of this vulnerability is the compromise of confidentiality and integrity of user sessions and data on affected WordPress sites. Attackers with contributor-level access can inject malicious scripts that execute in the context of other users, including administrators, potentially leading to session hijacking, privilege escalation, defacement, or distribution of malware. This can damage the reputation of affected organizations, lead to data breaches, and disrupt normal website operations. Since WordPress powers a significant portion of the web, sites using this plugin are at risk, especially those with multiple contributors or editors. The vulnerability does not directly impact availability but can indirectly cause downtime or loss of user trust. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but the low complexity and lack of user interaction make it a viable attack vector in many environments.

Mitigation Recommendations

Organizations should immediately audit their WordPress installations to identify the presence of the Rotating Tweets plugin and verify the version in use. Until an official patch is released, administrators should consider disabling or uninstalling the plugin to eliminate the attack surface. Restrict contributor-level permissions to trusted users only and monitor for suspicious activity or unauthorized content changes. Implement Web Application Firewalls (WAFs) with rules to detect and block common XSS payloads targeting the plugin's input fields. Employ Content Security Policy (CSP) headers to reduce the impact of injected scripts. Regularly review and sanitize user-generated content before publishing. Additionally, maintain strict access controls and enforce multi-factor authentication to reduce the risk of account compromise. Once a patch is available, apply it promptly and test the site for residual vulnerabilities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-20T09:03:17.911Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6bdeb7ef31ef0b55b983

Added to database: 2/25/2026, 9:38:38 PM

Last enriched: 2/26/2026, 2:24:51 AM

Last updated: 2/26/2026, 6:17:09 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats