CVE-2024-5884: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in allprices Beauty
CVE-2024-5884 is a stored Cross-Site Scripting (XSS) vulnerability in the Beauty WordPress theme by allprices, affecting all versions up to 1. 1. 4. The flaw arises from improper input sanitization and output escaping of the 'tpl_featured_cat_id' parameter, allowing authenticated users with Subscriber-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 unauthorized actions. The vulnerability has a CVSS 3. 1 score of 6. 4 (medium severity), with network attack vector, low attack complexity, and privileges required. No public exploits are known yet, but the scope is significant due to the widespread use of WordPress and the Beauty theme. Mitigation requires patching or applying strict input validation and output encoding.
AI Analysis
Technical Summary
CVE-2024-5884 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Beauty theme for WordPress, versions up to and including 1.1.4. The vulnerability stems from improper neutralization of input during web page generation, specifically through the 'tpl_featured_cat_id' parameter. This parameter lacks sufficient input sanitization and output escaping, allowing an authenticated attacker with at least Subscriber-level privileges to inject arbitrary JavaScript code into pages generated by the theme. Because the injected scripts are stored persistently, they execute whenever any user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability is exploitable remotely over the network without user interaction, but requires low privileges (authenticated user). The CVSS 3.1 base score is 6.4, reflecting a medium severity with low attack complexity and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability is significant given the popularity of WordPress and the potential for privilege escalation or lateral movement within affected sites. The vulnerability was reserved in June 2024 and published in September 2024, with no official patches currently linked, indicating that site administrators must apply manual mitigations or await updates from the vendor.
Potential Impact
The impact of CVE-2024-5884 is primarily on the confidentiality and integrity of affected WordPress sites using the Beauty theme. An attacker with Subscriber-level access can inject malicious scripts that execute in the context of other 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, defacement of website content, and potential distribution of malware. Since the vulnerability is stored XSS, the malicious payload persists and affects all visitors to the injected page, amplifying the risk. Although availability is not impacted, the breach of trust and potential data leakage can cause reputational damage and legal consequences for organizations. The requirement for authenticated access limits the attack surface but does not eliminate risk, as Subscriber accounts are common and may be compromised or created by attackers. Organizations relying on WordPress with the Beauty theme, especially those with public-facing sites and multiple user roles, face increased risk of targeted attacks and exploitation.
Mitigation Recommendations
To mitigate CVE-2024-5884, organizations should first verify if they are using the Beauty WordPress theme version 1.1.4 or earlier. Immediate steps include restricting Subscriber-level user capabilities to minimize the risk of malicious input submission. Implement strict input validation and output encoding for the 'tpl_featured_cat_id' parameter in the theme code, ensuring all user-supplied data is sanitized before storage and properly escaped before rendering. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection attempts targeting this parameter. Monitor logs for unusual activity from authenticated users, especially those with Subscriber roles. Encourage users to use strong, unique passwords and enable multi-factor authentication to reduce account compromise risk. Regularly update WordPress core, themes, and plugins to the latest versions once patches are released by the vendor. Consider isolating or disabling the affected theme if immediate patching is not possible. Conduct security audits and penetration testing focused on XSS vulnerabilities to identify and remediate similar issues proactively.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, India, France, Brazil, Netherlands, Japan
CVE-2024-5884: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in allprices Beauty
Description
CVE-2024-5884 is a stored Cross-Site Scripting (XSS) vulnerability in the Beauty WordPress theme by allprices, affecting all versions up to 1. 1. 4. The flaw arises from improper input sanitization and output escaping of the 'tpl_featured_cat_id' parameter, allowing authenticated users with Subscriber-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 unauthorized actions. The vulnerability has a CVSS 3. 1 score of 6. 4 (medium severity), with network attack vector, low attack complexity, and privileges required. No public exploits are known yet, but the scope is significant due to the widespread use of WordPress and the Beauty theme. Mitigation requires patching or applying strict input validation and output encoding.
AI-Powered Analysis
Technical Analysis
CVE-2024-5884 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Beauty theme for WordPress, versions up to and including 1.1.4. The vulnerability stems from improper neutralization of input during web page generation, specifically through the 'tpl_featured_cat_id' parameter. This parameter lacks sufficient input sanitization and output escaping, allowing an authenticated attacker with at least Subscriber-level privileges to inject arbitrary JavaScript code into pages generated by the theme. Because the injected scripts are stored persistently, they execute whenever any user accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability is exploitable remotely over the network without user interaction, but requires low privileges (authenticated user). The CVSS 3.1 base score is 6.4, reflecting a medium severity with low attack complexity and partial impact on confidentiality and integrity but no impact on availability. No public exploits have been reported yet, but the vulnerability is significant given the popularity of WordPress and the potential for privilege escalation or lateral movement within affected sites. The vulnerability was reserved in June 2024 and published in September 2024, with no official patches currently linked, indicating that site administrators must apply manual mitigations or await updates from the vendor.
Potential Impact
The impact of CVE-2024-5884 is primarily on the confidentiality and integrity of affected WordPress sites using the Beauty theme. An attacker with Subscriber-level access can inject malicious scripts that execute in the context of other 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, defacement of website content, and potential distribution of malware. Since the vulnerability is stored XSS, the malicious payload persists and affects all visitors to the injected page, amplifying the risk. Although availability is not impacted, the breach of trust and potential data leakage can cause reputational damage and legal consequences for organizations. The requirement for authenticated access limits the attack surface but does not eliminate risk, as Subscriber accounts are common and may be compromised or created by attackers. Organizations relying on WordPress with the Beauty theme, especially those with public-facing sites and multiple user roles, face increased risk of targeted attacks and exploitation.
Mitigation Recommendations
To mitigate CVE-2024-5884, organizations should first verify if they are using the Beauty WordPress theme version 1.1.4 or earlier. Immediate steps include restricting Subscriber-level user capabilities to minimize the risk of malicious input submission. Implement strict input validation and output encoding for the 'tpl_featured_cat_id' parameter in the theme code, ensuring all user-supplied data is sanitized before storage and properly escaped before rendering. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious script injection attempts targeting this parameter. Monitor logs for unusual activity from authenticated users, especially those with Subscriber roles. Encourage users to use strong, unique passwords and enable multi-factor authentication to reduce account compromise risk. Regularly update WordPress core, themes, and plugins to the latest versions once patches are released by the vendor. Consider isolating or disabling the affected theme if immediate patching is not possible. Conduct security audits and penetration testing focused on XSS vulnerabilities to identify and remediate similar issues proactively.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-06-11T21:25:21.207Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6bf6b7ef31ef0b55d107
Added to database: 2/25/2026, 9:39:02 PM
Last enriched: 2/26/2026, 2:53:42 AM
Last updated: 2/26/2026, 4:54:19 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
Finding 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
MediumCVE-2026-2499: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tgrk Custom Logo
MediumCVE-2026-2498: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bulktheme WP Social Meta
MediumCVE-2026-2489: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in readymadeweb TP2WP Importer
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.