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-4630: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in brainstormforce Starter Templates — Elementor, WordPress & Beaver Builder Templates

0
Medium
VulnerabilityCVE-2024-4630cvecve-2024-4630cwe-79
Published: Sat May 11 2024 (05/11/2024, 04:30:18 UTC)
Source: CVE Database V5
Vendor/Project: brainstormforce
Product: Starter Templates — Elementor, WordPress & Beaver Builder Templates

Description

CVE-2024-4630 is a stored cross-site scripting (XSS) vulnerability in the Starter Templates plugin for WordPress, affecting versions up to 4. 2. 0. It arises from improper input sanitization in the 'custom_upload_mimes' function, allowing authenticated users with contributor-level permissions or higher to inject malicious scripts. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking or unauthorized actions. The vulnerability has a CVSS score of 6. 4, indicating medium severity, with no known exploits in the wild yet. Exploitation requires authentication but no user interaction, and it impacts confidentiality and integrity without affecting availability. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation. Countries with significant WordPress usage and active web content management are most at risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 00:51:11 UTC

Technical Analysis

CVE-2024-4630 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79, found in the Starter Templates — Elementor, WordPress & Beaver Builder Templates plugin for WordPress. This vulnerability exists due to insufficient sanitization and escaping of user input in the 'custom_upload_mimes' function, which handles MIME type customizations. Authenticated attackers with contributor-level permissions or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. Because the malicious script is stored, it executes every time a user visits the infected page, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the WordPress environment. The vulnerability affects all versions up to and including 4.2.0. The CVSS 3.1 base score is 6.4, reflecting a medium severity level, with an attack vector of network, low attack complexity, privileges required at the contributor level, no user interaction needed, and a scope change indicating that the vulnerability affects components beyond the initially vulnerable module. While no known exploits are currently reported in the wild, the vulnerability poses a significant risk due to the widespread use of WordPress and the Starter Templates plugin in website development. The lack of output escaping and input validation in a function that manages MIME types is a critical oversight, as it allows script injection in a context that is rendered to users. This vulnerability highlights the importance of secure coding practices, especially in plugins that are widely deployed in content management systems.

Potential Impact

The impact of CVE-2024-4630 is primarily on the confidentiality and integrity of affected WordPress sites. Successful exploitation allows an attacker with contributor-level access to inject persistent malicious scripts, which execute in the context of users visiting the compromised pages. This can lead to session hijacking, theft of sensitive information such as cookies or credentials, unauthorized actions performed on behalf of users, and potential further compromise of the website or connected systems. Although availability is not directly affected, the reputational damage and potential data breaches can be severe. Organizations relying on the Starter Templates plugin for website design and content delivery face risks of defacement, data leakage, and loss of user trust. Given the popularity of WordPress globally, the scope of affected systems is large, increasing the potential for widespread exploitation if the vulnerability is weaponized. The requirement for contributor-level permissions limits exploitation to insiders or compromised accounts, but this is a common permission level for many content creators, increasing the attack surface. The vulnerability could be leveraged in targeted attacks against organizations with active WordPress sites using this plugin, especially those with multiple contributors.

Mitigation Recommendations

To mitigate CVE-2024-4630, organizations should immediately update the Starter Templates plugin to a version that addresses this vulnerability once released by the vendor. In the absence of an official patch, administrators should restrict contributor-level permissions to trusted users only and audit existing contributor accounts for suspicious activity. Implementing a Web Application Firewall (WAF) with rules to detect and block XSS payloads targeting the plugin's affected functions can provide temporary protection. Additionally, site administrators should enable Content Security Policy (CSP) headers to reduce the impact of injected scripts by restricting script execution sources. Regularly scanning the website for injected scripts or anomalous content is recommended to detect exploitation attempts early. Developers maintaining custom templates should review and sanitize all user inputs rigorously, especially those related to MIME types or file uploads. Monitoring logs for unusual contributor activity and educating users about the risks of XSS can further reduce exploitation chances. Finally, consider isolating critical administrative functions and limiting the number of users with contributor or higher privileges to minimize risk.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-07T21:40:49.914Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b92b7ef31ef0b556cac

Added to database: 2/25/2026, 9:37:22 PM

Last enriched: 2/26/2026, 12:51:11 AM

Last updated: 2/26/2026, 11:23:25 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