What the vulnerability does
01Description
The Majestic Before After Image plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'before_label' and 'after_label' parameters in versions less than, or equal to, 2.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
The Majestic Before After Image plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability in versions up to 2.0.2. An authenticated attacker with low privileges can inject malicious scripts that execute in the browsers of other users viewing the plugin's content. The vulnerability does not require user interaction and affects the integrity and confidentiality of site data.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers and steal their data or perform actions on their behalf.
Potential impact on your site
04Site Impact
Authenticated users' sessions and data can be compromised; site reputation and visitor trust may be damaged.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress account (e.g., contributor or subscriber role).
Key dates
06Disclosure timeline
October 4, 2025
CVE published
April 8, 2026
Record updated