CVE-2024-1840: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpbakery WPBakery Page Builder
The wpbakery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Post Author tag attribute in all versions up to, and including, 7.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor access or higher, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2024-1840 is a stored cross-site scripting vulnerability in the WPBakery Page Builder WordPress plugin affecting all versions up to 7.5. The vulnerability is due to improper neutralization of input in the Post Author tag attribute, allowing authenticated users with contributor or higher privileges to inject arbitrary web scripts. These scripts execute in the context of users viewing the compromised pages, potentially leading to information disclosure or session hijacking. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges at the contributor level, no user interaction, and impacts on confidentiality and integrity but not availability.
Potential Impact
An authenticated attacker with contributor or higher privileges can inject malicious scripts into pages via the Post Author tag attribute. These scripts execute in the browsers of users who view the affected pages, potentially leading to unauthorized actions such as data theft or session hijacking. The vulnerability does not impact availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider additional input validation or output escaping controls if possible. Monitor official WPBakery and WordPress security channels for updates.
CVE-2024-1840: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpbakery WPBakery Page Builder
Description
The wpbakery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Post Author tag attribute in all versions up to, and including, 7.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor access or higher, 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-1840 is a stored cross-site scripting vulnerability in the WPBakery Page Builder WordPress plugin affecting all versions up to 7.5. The vulnerability is due to improper neutralization of input in the Post Author tag attribute, allowing authenticated users with contributor or higher privileges to inject arbitrary web scripts. These scripts execute in the context of users viewing the compromised pages, potentially leading to information disclosure or session hijacking. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges at the contributor level, no user interaction, and impacts on confidentiality and integrity but not availability.
Potential Impact
An authenticated attacker with contributor or higher privileges can inject malicious scripts into pages via the Post Author tag attribute. These scripts execute in the browsers of users who view the affected pages, potentially leading to unauthorized actions such as data theft or session hijacking. The vulnerability does not impact availability. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider additional input validation or output escaping controls if possible. Monitor official WPBakery and WordPress security channels for updates.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-02-23T14:35:25.601Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d40b7ef31ef0b56f6a7
Added to database: 2/25/2026, 9:44:32 PM
Last enriched: 4/9/2026, 7:09:19 AM
Last updated: 4/14/2026, 2:33:27 AM
Views: 12
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.