CVE-2024-5191: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpmudev Branda – White Label WordPress, Custom Login Page Customizer
CVE-2024-5191 is a stored Cross-Site Scripting (XSS) vulnerability in the Branda – White Label WordPress, Custom Login Page Customizer plugin affecting all versions up to 3. 4. 17. It arises from improper input sanitization and output escaping of the 'mime_types' parameter, allowing authenticated users with Author-level privileges or higher to inject malicious scripts. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authentication with Author-level access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation. The threat primarily affects WordPress sites globally, especially those with active user roles at or above Author level.
AI Analysis
Technical Summary
CVE-2024-5191 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Branda – White Label WordPress, Custom Login Page Customizer plugin, a popular WordPress plugin used to customize login pages and white-label branding. The vulnerability exists due to improper neutralization of input during web page generation, specifically through the 'mime_types' parameter. This parameter is insufficiently sanitized and escaped, allowing authenticated users with Author-level privileges or higher to inject arbitrary JavaScript code into pages generated by the plugin. Because the injected scripts are stored persistently, they execute whenever any user visits the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions under the victim's context. The vulnerability does not require user interaction but does require the attacker to have authenticated access with at least Author-level permissions, which is a moderately high privilege level in WordPress. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and no user interaction needed. The scope is changed (S:C), indicating that the vulnerability can affect resources beyond the initially vulnerable component. No public exploits have been reported yet, but the vulnerability is publicly disclosed and should be addressed promptly. The plugin affects all versions up to and including 3.4.17. No official patch links are provided in the source data, so users should monitor vendor updates or apply manual mitigations.
Potential Impact
This vulnerability can lead to significant security risks for organizations running WordPress sites with the affected plugin. An attacker with Author-level access can inject malicious scripts that execute in the context of other users, including administrators, potentially leading to session hijacking, credential theft, unauthorized actions, or defacement. This undermines the confidentiality and integrity of the website and its users. Although availability impact is low, the compromise of administrative accounts or user data can have severe operational and reputational consequences. Organizations with multi-user WordPress environments are particularly at risk, especially those allowing Author-level permissions to external contributors or less trusted users. The vulnerability can facilitate lateral movement within the site and may serve as a foothold for further attacks. Given the widespread use of WordPress globally, the potential attack surface is large, and exploitation could affect a broad range of industries including e-commerce, media, education, and government websites.
Mitigation Recommendations
1. Immediately update the Branda plugin to a patched version once released by the vendor. Monitor official wpmudev channels for updates. 2. In the absence of an official patch, restrict Author-level and higher privileges to trusted users only, minimizing the risk of malicious script injection. 3. Implement Web Application Firewall (WAF) rules to detect and block suspicious payloads targeting the 'mime_types' parameter. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected pages. 5. Conduct regular security audits and code reviews of customizations involving the plugin to identify unsafe input handling. 6. Educate site administrators about the risks of granting elevated privileges and enforce the principle of least privilege. 7. Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 8. Consider temporarily disabling the plugin if immediate patching is not feasible and the risk is high. 9. Use security plugins that can detect and remediate stored XSS payloads in the WordPress database.
Affected Countries
United States, United Kingdom, Germany, Australia, Canada, India, France, Brazil, Netherlands, Japan
CVE-2024-5191: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpmudev Branda – White Label WordPress, Custom Login Page Customizer
Description
CVE-2024-5191 is a stored Cross-Site Scripting (XSS) vulnerability in the Branda – White Label WordPress, Custom Login Page Customizer plugin affecting all versions up to 3. 4. 17. It arises from improper input sanitization and output escaping of the 'mime_types' parameter, allowing authenticated users with Author-level privileges or higher to inject malicious scripts. These scripts execute whenever any user accesses the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction but does require authentication with Author-level access. No known exploits are currently reported in the wild. Organizations using this plugin should prioritize patching or applying mitigations to prevent exploitation. The threat primarily affects WordPress sites globally, especially those with active user roles at or above Author level.
AI-Powered Analysis
Technical Analysis
CVE-2024-5191 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Branda – White Label WordPress, Custom Login Page Customizer plugin, a popular WordPress plugin used to customize login pages and white-label branding. The vulnerability exists due to improper neutralization of input during web page generation, specifically through the 'mime_types' parameter. This parameter is insufficiently sanitized and escaped, allowing authenticated users with Author-level privileges or higher to inject arbitrary JavaScript code into pages generated by the plugin. Because the injected scripts are stored persistently, they execute whenever any user visits the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions under the victim's context. The vulnerability does not require user interaction but does require the attacker to have authenticated access with at least Author-level permissions, which is a moderately high privilege level in WordPress. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and no user interaction needed. The scope is changed (S:C), indicating that the vulnerability can affect resources beyond the initially vulnerable component. No public exploits have been reported yet, but the vulnerability is publicly disclosed and should be addressed promptly. The plugin affects all versions up to and including 3.4.17. No official patch links are provided in the source data, so users should monitor vendor updates or apply manual mitigations.
Potential Impact
This vulnerability can lead to significant security risks for organizations running WordPress sites with the affected plugin. An attacker with Author-level access can inject malicious scripts that execute in the context of other users, including administrators, potentially leading to session hijacking, credential theft, unauthorized actions, or defacement. This undermines the confidentiality and integrity of the website and its users. Although availability impact is low, the compromise of administrative accounts or user data can have severe operational and reputational consequences. Organizations with multi-user WordPress environments are particularly at risk, especially those allowing Author-level permissions to external contributors or less trusted users. The vulnerability can facilitate lateral movement within the site and may serve as a foothold for further attacks. Given the widespread use of WordPress globally, the potential attack surface is large, and exploitation could affect a broad range of industries including e-commerce, media, education, and government websites.
Mitigation Recommendations
1. Immediately update the Branda plugin to a patched version once released by the vendor. Monitor official wpmudev channels for updates. 2. In the absence of an official patch, restrict Author-level and higher privileges to trusted users only, minimizing the risk of malicious script injection. 3. Implement Web Application Firewall (WAF) rules to detect and block suspicious payloads targeting the 'mime_types' parameter. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected pages. 5. Conduct regular security audits and code reviews of customizations involving the plugin to identify unsafe input handling. 6. Educate site administrators about the risks of granting elevated privileges and enforce the principle of least privilege. 7. Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 8. Consider temporarily disabling the plugin if immediate patching is not feasible and the risk is high. 9. Use security plugins that can detect and remediate stored XSS payloads in the WordPress database.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-05-21T23:21:36.761Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6be0b7ef31ef0b55bab3
Added to database: 2/25/2026, 9:38:40 PM
Last enriched: 2/26/2026, 2:25:47 AM
Last updated: 2/26/2026, 8:05:18 AM
Views: 1
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.
Related Threats
CVE-2026-25191: Uncontrolled Search Path Element in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-23703: Incorrect default permissions in Digital Arts Inc. FinalCode Ver.5 series
HighCVE-2026-1311: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in bearsthemes Worry Proof Backup
HighFinding Signal in the Noise: Lessons Learned Running a Honeypot with AI Assistance [Guest Diary], (Tue, Feb 24th)
MediumCVE-2026-2506: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in motahar1 EM Cost Calculator
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.