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.
Published: 2026-09-02
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that can run in any visitor’s browser, including administrators
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises because the plugin fails to escape the value entered in the slider’s after‑label field before it is re‑inserted into the page by the bundled JavaScript. An attacker who can create or edit a slider with the Author role or higher can store a malicious JavaScript payload that will run in the browsers of any visitor who views that slider, including site administrators. This stored cross‑site scripting can lead to session hijacking, credential theft, or arbitrary code execution within the context of the site.

Affected Systems

The issue affects installations of the WordPress plugin Ultimate Before After Image Slider & Gallery version 4.7.18 and earlier. Deployments of any site that uses the plugin before the announced 4.7.19 release are vulnerable. The vendor is listed as Unknown in the CVE data, but the plugin is widely available from the WordPress plugin repository.

Risk and Exploitability

Although no EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog, the CVSS score of 6.8 indicates a moderate severity. Attackers need only the ability to create or edit a slider, a privilege usually granted to users with Author or higher roles. Anyone who views the impacted slider will have the injected script executed, so the risk window covers all visitors, including administrators. Because the flaw is client‑side and does not require network reconnaissance, the exploit is likely to be discovered and leveraged promptly once a site is discovered to host the vulnerable plugin.

Generated by OpenCVE AI on September 2, 2026 at 13:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest plugin update (4.7.19 or newer) which removes the vulnerability.
  • If an update is not immediately available, disable or remove the Ultimate Before After Image Slider & Gallery plugin from the site.
  • Restrict the Author role to trusted users only and consider revoking slider creation privileges from all but administrators.
  • Optionally, configure a Content Security Policy that limits script execution to trusted sources to mitigate the impact of any residual XSS.

Generated by OpenCVE AI on September 2, 2026 at 13:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Sep 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Wed, 02 Sep 2026 06:15:00 +0000

Type Values Removed Values Added
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.
Title BEAF < 4.7.19 - Author+ Stored XSS via After Label
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-02T10:46:00.627Z

Reserved: 2026-06-23T11:03:58.153Z

Link: CVE-2025-15663

cve-icon Vulnrichment

Updated: 2026-09-02T10:13:38.979Z

cve-icon NVD

Status : Deferred

Published: 2026-09-02T06:17:14.587

Modified: 2026-09-03T17:49:19.180

Link: CVE-2025-15663

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T13:15:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')