Skip to content
Laskyr

Plugins · beaf-before-and-after-gallery · data as of 2026-11-29

Is Ultimate Before After Image Slider & Gallery safe? Known vulnerabilities and latest version

No known unpatched vulnerabilities in the latest version (4.7.23)

As of 2026-11-29. 6 issues are on record for older versions; version 4.7.23 or newer fixes all of them that state a fix.

Latest version
4.7.23
Last updated
2026-11-24
Active installs
30,000+
Known issues on record
6
Unpatched in latest
0
Tested up to WP
7.1.5 · PHP 7.4+

Need a Before After Image Comparison slider? Create your before and after slider with BEAF. Addon for Elementor Before and After Slider is included. — by Themefic

What to do

  1. Update to the latest version (4.7.23). Anything older than 4.7.23 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan. Already hacked? We clean it for a flat $499 with a 30-day reinfection guarantee.

With WP-CLI: wp plugin get beaf-before-and-after-gallery --field=version shows what you run; wp plugin update beaf-before-and-after-gallery updates it.

Check your version

Running more than one plugin? Paste your whole plugin list and check them all at once.

Known vulnerabilities

6 on record, newest first. Versions come from the source; * marks the first wordpress.org release after the last affected version.

medium 6.5 CVE-2026-135015 · published 2026-11-24

Stored cross-site scripting (XSS) in Ultimate Before After Image Slider & Gallery (4.7.22 and older)

Affected
4.7.22 and older
Fixed in
4.7.23
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by Patchstack
Details from the advisory

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Themefic BEAF beaf-before-and-after-gallery allows Stored XSS.This issue affects BEAF: from n/a through 4.7.22.

NVD CVE-2026-135015Patchstack advisory

medium 6.8 CVE-2025-15664 · published 2026-09-02

Cross-site scripting (XSS) in Ultimate Before After Image Slider & Gallery (older than 4.7.19)

Affected
older than 4.7.19
Fixed in
4.7.19
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record · score by CISA ADP
Details from the advisory

The Ultimate Before After Image Slider & Gallery WordPress plugin before 4.7.19 does not properly escape the slider's before-label value before its bundled client-side script re-injects it into the DOM, allowing users with the Author role and above to store a payload that executes in the browser of anyone (including an administrator) who views the slider.

NVD CVE-2025-15664WPScan advisory

medium 6.8 CVE-2025-15663 · published 2026-09-02

Cross-site scripting (XSS) in Ultimate Before After Image Slider & Gallery (older than 4.7.19)

Affected
older than 4.7.19
Fixed in
4.7.19
Access needed (per CVSS)
Needs an admin-level account; someone on the site has to click a link or open a page
Range from
CVE record · score by CISA ADP
Details from the advisory

The Ultimate Before After Image Slider & Gallery WordPress plugin before 4.7.19 does not properly escape the slider's after-label value before its bundled client-side script re-injects it into the DOM, allowing users with the Author role and above to store a payload that executes in the browser of anyone (including an administrator) who views the slider.

NVD CVE-2025-15663WPScan advisory

medium 5.4 CVE-2025-15665 · published 2026-07-14

Security issue in Ultimate Before After Image Slider & Gallery (older than 4.7.1)

Affected
older than 4.7.1
Fixed in
4.7.1
Access needed (per CVSS)
Needs a low-level account (e.g. subscriber); someone on the site has to click a link or open a page
Range from
CVE record · score by CISA ADP
Details from the advisory

The Ultimate Before After Image Slider & Gallery WordPress plugin before 4.7.1 does not escape the value of the BEAF Slider widget's shortcode field before outputting it on the front end (the value is passed through do_shortcode, which echoes non-shortcode content verbatim), allowing users with administrator-level access to store a script that executes in the browser of any visitor who loads a page displaying the widget.

NVD CVE-2025-15665WPScan advisory

high 7.2 CVE-2025-47549 · published 2025-05-07

Arbitrary file upload in Ultimate Before After Image Slider & Gallery (4.6.10 and older)

Affected
4.6.10 and older
Fixed in
4.6.11
Access needed (per CVSS)
Needs an admin-level account
Range from
CVE record · score by NVD
Details from the advisory

Unrestricted Upload of File with Dangerous Type vulnerability in Themefic BEAF beaf-before-and-after-gallery allows Upload a Web Shell to a Web Server.This issue affects BEAF: from n/a through <= 4.6.10.

NVD CVE-2025-47549Patchstack advisory

medium 4.3 CVE-2024-32433 · published 2024-04-15

Cross-site request forgery (CSRF) in Ultimate Before After Image Slider & Gallery (4.5.4 and older)

Affected
4.5.4 and older
Fixed in
4.5.5
Access needed (per CVSS)
No login needed; someone on the site has to click a link or open a page
Range from
CVE record · score by Patchstack
Details from the advisory

Cross-Site Request Forgery (CSRF) vulnerability in Themefic BEAF beaf-before-and-after-gallery.This issue affects BEAF: from n/a through <= 4.5.4.

NVD CVE-2024-32433Patchstack advisoryPatchstack advisory

Recent activity

Browse vulnerabilities

Questions about Ultimate Before After Image Slider & Gallery

Is Ultimate Before After Image Slider & Gallery safe to use?

No known unpatched vulnerabilities in the latest version (4.7.23). As of 2026-11-29. 6 issues are on record for older versions; version 4.7.23 or newer fixes all of them that state a fix. Laskyr does not give safety verdicts. Keep Ultimate Before After Image Slider & Gallery on the latest version (4.7.23) and remove it if you do not use it.

Which versions of Ultimate Before After Image Slider & Gallery are vulnerable?

Known issues on record (newest first): Stored cross-site scripting (XSS) (4.7.22 and older, fixed in 4.7.23); Cross-site scripting (XSS) (older than 4.7.19, fixed in 4.7.19); Security issue (older than 4.7.1, fixed in 4.7.1); Arbitrary file upload (4.6.10 and older, fixed in 4.6.11); Cross-site request forgery (CSRF) (4.5.4 and older, fixed in 4.5.5). The full list with sources is on this page.

What is the latest version of Ultimate Before After Image Slider & Gallery?

4.7.23, according to wordpress.org (last updated 2026-11-24). It has 30,000+ active installs.

What should I do if my Ultimate Before After Image Slider & Gallery is out of date?

Take a backup, then update it from Dashboard > Updates (or run wp plugin update beaf-before-and-after-gallery). If you cannot update right away, deactivate it until you can. If you think the site was already attacked, run a free scan at https://laskyr.com/scan.

Where this data comes from

Badge for your site or docs (states facts with a date, not a verdict):
Ultimate Before After Image Slider & Gallery vulnerability status badge
<a href="https://laskyr.com/plugins/beaf-before-and-after-gallery"><img src="https://laskyr.com/plugins/beaf-before-and-after-gallery/badge.svg" alt="Ultimate Before After Image Slider & Gallery vulnerability status"></a>

← Check another plugin · Free hacked-site scan

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.