WordPress security changelog
MEDIUM CVE-2025-15665 Deferred

Ultimate Before After Image Slider & Gallery: A security weakness

Ultimate Before After Image Slider & Gallery is affected by a security weakness. Exploitation requires at least administrator-level access. The resulting impact depends on how the affected component exposes the vulnerable operation. The published affected range is < 4.7.1.

CVE / CNA score 5.4 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score Pending NVD has not published its own CVSS assessment.
Component
Ultimate Before After Image Slider & Gallery
Plugin slug
ultimate-before-after-image-slider-gallery
Affected
< 4.7.1
Safe version
4.7.1
Published
Jul 14, 2026
Weakness
Not assigned

This CVE was published Jul 14, 2026 and is one of 2 known issues for this plugin.

Update, patch or deactivate.

Update Ultimate Before After Image Slider & Gallery to 4.7.1 or later, or disable and remove it until a fixed version is available.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources