Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker obtains WordPress administrator credentials
-
DeliveryAccess BEAF Slider widget configuration panel
-
ExploitInject malicious JavaScript into shortcode field
-
InstallSave widget on public-facing page
-
C2Victim visits page containing widget
-
ExecuteBrowser executes stored script
-
ImpactAttacker captures session tokens or credentials
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires the attacker to hold an authenticated administrator-level account on the target WordPress site - this is the primary limiting factor and substantially constrains opportunistic mass exploitation. The BEAF Slider widget must be actively placed on at least one publicly accessible page or post for the stored payload to reach victims. Victim-side triggering requires a user (any role, including unauthenticated visitors) to load the page displaying the compromised widget (UI:R per CVSS). The vulnerability is not exploitable by lower-privileged WordPress roles such as Editor, Author, or Subscriber. There is no special server-side configuration or non-default setting required beyond the plugin being installed and a BEAF Slider widget being deployed on a page. |
| Impact | The NVD CVSS 3.1 score of 5.4 Medium uses AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N; however, the CVE description explicitly states 'users with administrator-level access,' which maps more accurately to PR:H rather than PR:L in standard CVSS terminology - this discrepancy should be verified against the vendor advisory. The Changed scope (S:C) correctly reflects that the injected payload executes in a victim browser context separate from the WordPress application itself. SSVC classifies the exploitation status as poc-level, not automatable, with partial technical impact - consistent with the access-gated nature of the flaw. No EPSS score was provided in the intelligence data, and the absence of a KEV listing indicates no confirmed widespread active exploitation. The public POC published by WPScan lowers the barrier for exploitation but the administrator-privilege prerequisite substantially narrows the realistic threat pool to malicious insiders, compromised admin accounts, or social-engineering scenarios. This is a genuine but moderate-priority remediation item, particularly elevated in WordPress multisite deployments where sub-site administrators are less fully trusted. |
| Exploit ScenarioDerived | A malicious or compromised WordPress administrator navigates to the BEAF Slider widget settings and enters a JavaScript payload (e.g., a cookie-stealing script) into the shortcode field, then publishes or updates the page. Every subsequent visitor who loads that page receives the injected script executed in their browser context, enabling session hijacking, credential harvesting, or drive-by malware delivery. A public proof-of-concept for this technique has been disclosed by WPScan, making reproduction straightforward for any attacker who has obtained WordPress admin credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 14, 2026
Stored cross-site scripting in the Ultimate Before After Image Slider & Gallery WordPress plugin (all versions before 4.7.1) enables users with administrator-level access to plant persistent malicious scripts via the BEAF Slider widget's shortcode field, which then execute silently in the browsers of any site visitor loading a page displaying the widget. The plugin pipes the field value through WordPress's native do_shortcode() function without sanitizing or escaping the output, causing unrecognized content to be echoed verbatim to the rendered page. A publicly available proof-of-concept has been disclosed by WPScan; no active exploitation has been confirmed in the CISA Known Exploited Vulnerabilities catalog.
RemediationAI
Update the Ultimate Before After Image Slider & Gallery WordPress plugin to version 4.7.1 or later, which is confirmed by WPScan to address the missing output escaping in the BEAF Slider widget's shortcode field rendering path. The advisory is available at https://wpscan.com/vulnerability/754f0960-efc8-426f-bb1d-7cceec920910/. If immediate patching is not feasible, restrict configuration of the BEAF Slider widget exclusively to fully trusted administrator accounts and audit all existing BEAF Slider widget instances for injected script payloads - check the shortcode field of every widget instance across all pages and posts. In WordPress multisite environments, consider temporarily disabling the plugin network-wide until the patch can be applied, as sub-site administrators represent a lower-trust population. Note that restricting widget access does not remove already-stored payloads; a manual audit of existing widget configurations is required as a compensating control.
Affected VersionsENISA
Affected Packages
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 Ultimate Before After Image Slider & Gallery plugin exposes a BEAF Slider widget configurable via WordPress's shortcode or block editor interfaces. The underlying flaw is that the plugin passes the user-supplied shortcode field value directly through WordPress core's do_shortcode() function and then outputs its return value to the page without applying wp_kses, esc_html, or any equivalent output escaping. WordPress's do_shortcode() is designed to execute registered shortcode handlers and return their output; critically, content that does not match any registered shortcode tag is returned verbatim - making it an unsafe rendering path for untrusted input. This creates a persistent (stored) XSS sink. Although no CWE was formally assigned, the root cause maps squarely to CWE-79 (Improper Neutralization of Input During Web Page Generation). The affected CPE is cpe:2.3:a:unknown:ultimate_before_after_image_slider_&_gallery:*:*:*:*:*:*:*:*, covering all releases prior to 4.7.1.
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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Administrator-level WordPress access maps to PR:H; description explicitly names this role, making the provided PR:L appear to understate the privilege barrier.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Unrestricted Upload of File with Dangerous Type vulnerability in Themefic BEAF allows Upload a Web Shell to a Web Server
Stored cross-site scripting in the Ultimate Before After Image Slider & Gallery WordPress plugin before version 4.7.19 e
Stored cross-site scripting in the Ultimate Before After Image Slider & Gallery WordPress plugin (all versions before 4.
EUVD-2025-210458
GHSA-h7cp-867p-67hq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB