Vulnerability in Ultimate Before After Image Slider & Gallery – BEAF — CVE-2026-135015
MediumSeverity
0.3%Estimated exploit probability
30,000+ sitesInstalls
4.7.23Fixed in
What to do now
Update Ultimate Before After Image Slider & Gallery – BEAF to 4.7.23 or later.
Affected versions
- Everything up to and including 4.7.22
Affected: Ultimate Before After Image Slider & Gallery – BEAF (plugin, beaf-before-and-after-gallery)
What the vulnerability is
The Ultimate Before After Image Slider & Gallery – BEAF plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘bafg_image_styles’ parameter in all versions up to, and including, 4.7.22 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.