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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Author authenticates to WordPress
  2. Delivery
    Inserts XSS payload in slider before-label field
  3. Exploit
    Payload stored in database unescaped
  4. Install
    Victim (admin or visitor) views page with slider
  5. C2
    Plugin JS re-injects label into DOM
  6. Execute
    Payload executes in victim's browser
  7. Impact
    Session token exfiltrated or admin actions performed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold at minimum an Author-level WordPress account on the targeted site - unauthenticated exploitation is not possible. The Ultimate Before After Image Slider & Gallery plugin must be installed, activated, and at a version below 4.7.19. The stored payload only executes when a victim browses to a page or post that renders a slider containing the malicious label; exploitation against an administrator additionally requires that administrator to view such a page during an authenticated session. Non-default conditions that limit exploitation include: sites where the Author role is restricted to a small, trusted set of users; sites where sliders are never shown on publicly accessible or admin-visible pages; and sites running version 4.7.19 or later.

Impact

CVSS 6.8 with PR:H reflects the provided score, yet Author-level access in WordPress is broadly accessible on multi-author blogs and content platforms - the practical barrier to entry is lower than a strict PR:H reading implies, and even a mid-sized municipal IT team in swidnica running a public-facing WordPress site should treat this as a meaningful priority if the plugin is installed. The UI:R condition (an administrator or other user must view the slider) reduces the chance of opportunistic mass exploitation, but it is trivially satisfied on any live site that displays sliders on public-facing pages. A publicly available exploit from WPScan confirms that attack code is not theoretical. EPSS score is not provided in the input, so exploitation probability cannot be compared against the KEV baseline. The S:U / C:H / I:H / A:H in the provided vector is aggressive for a browser-context XSS without a documented scope escalation path; realistically, impact centers on session hijacking and admin-level WordPress takeover rather than full server compromise. No KEV listing exists, suggesting no confirmed wide exploitation to date. Overall: elevated real-world risk on multi-author WordPress deployments with public sliders; lower risk on single-author or admin-only installations.

Exploit ScenarioDerived

An attacker with a legitimate Author account on a WordPress site edits or creates a before/after image slider and inserts a JavaScript payload into the before-label field. When any site visitor or logged-in administrator navigates to a page containing that slider, the plugin's client-side script injects the unescaped label into the DOM, causing the payload to execute in the victim's browser and enabling session cookie theft or unauthorized admin actions. A publicly available proof-of-concept from WPScan demonstrates this attack path.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

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.

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.

Affected VersionsENISA

Ultimate Before After Image Slider & Gallery 0 <4.7.19

Affected Packages

euvd ultimate_before_after_image_slider_gallery fix: 4.7.19

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Ultimate Before After Image Slider Gallery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

4
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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche WordPress image-slider plugin, limited install base
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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