Ultimate Before After Image Slider after-label permits stored cross-site scripting
Ultimate Before After Image Slider & Gallery before 4.7.19 does not adequately escape the after-label value before its client-side script reinserts it into the DOM. An Author or higher can store script that executes in the browser of anyone, including an administrator, who views the slider.
- Component
- Ultimate Before After Image Slider & Gallery
- Plugin slug
ultimate-before-after-image-slider-gallery- Affected
- < 4.7.19
- Safe version
4.7.19- Published
- Sep 02, 2026
This CVE was published Sep 02, 2026 and is one of 4 known issues for this plugin.
Update, patch or deactivate.
Update to version 4.7.19 or later, remove malicious slider labels, and invalidate privileged sessions if affected sliders were viewed.
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.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.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H