Skip to main content

Ultimate Before After Image Slider & Gallery CVE-2025-15664

| EUVDEUVD-2025-210822 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-02 WPScan GHSA-jmj2-wp2q-8p2g
6.8
CVSS 3.1 · Vendor: WPScan
Share

Severity by source

Vendor (WPScan) PRIMARY
6.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
vuln.today AI
5.4 MEDIUM

Author role is low privilege (PR:L); XSS crosses into victim browser scope (S:C); no availability impact; C:L/I:L per scope-change convention.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Sep 02, 2026 - 11:23 vuln.today
CVSS changed
Sep 02, 2026 - 11:22 NVD
6.8 (MEDIUM)
Patch available
Sep 02, 2026 - 07:01 EUVD
CVE Published
Sep 02, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 02, 2026 - 06:00 cve.org
MEDIUM 6.8

DescriptionCVE.org

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.

AnalysisAI

Stored cross-site scripting in the Ultimate Before After Image Slider & Gallery WordPress plugin before version 4.7.19 enables any authenticated user holding the Author role or higher to plant a malicious JavaScript payload within a slider's before-label field. Because the plugin's bundled client-side script re-injects that label value into the DOM without sanitization, the payload executes automatically in the browser of every visitor - including administrators - who views the affected slider. A publicly available proof-of-concept was published by WPScan; vendor-released patch version 4.7.19 is available, and no active exploitation has been confirmed in the CISA KEV catalog.

Technical ContextAI

The vulnerability resides in the WordPress plugin identified in CPE as cpe:2.3:a:unknown:ultimate_before_after_image_slider_&_gallery. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a DOM-based stored XSS pattern: user-controlled data - in this case the slider's 'before-label' field - is saved to the database without adequate server-side sanitization, and the plugin's own JavaScript then reads that stored value and writes it back into the live DOM at render time without HTML-encoding it. This reflects a failure at two layers: the server does not reject or encode the input on save, and the client-side script does not treat the retrieved value as untrusted data. The affected versions cover all releases before 4.7.19.

RemediationAI

The primary fix is to upgrade the Ultimate Before After Image Slider & Gallery plugin to version 4.7.19 or later, which introduces proper escaping of the before-label value before it is re-injected by the client-side script. Site administrators should update immediately via the WordPress plugin dashboard or by downloading from the official plugin repository. If immediate upgrade is not possible, a compensating control is to restrict the Author role so that only fully trusted users hold it - removing Author-level accounts for untrusted contributors reduces the attack surface but does not eliminate the vulnerability. Alternatively, deactivating or removing the plugin until the patch can be applied removes the risk entirely, with the obvious trade-off of losing slider functionality. The WPScan advisory at https://wpscan.com/vulnerability/31bfd4c6-32e8-4790-b9a8-949fdaba9454/ and NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2025-15664 provide additional context.

Share

CVE-2025-15664 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy