CVE-2025-15663

BEAF < 4.7.19 - Author+ Stored XSS via After Label

Published Sep 2, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions beaf
Vendors & Products Wordpress-extensions
Wordpress-extensions beaf
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'}

Type Values Removed Values Added
Weaknesses CWE-79
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
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Sep 2, 2026, 10:46 AM
Reserved
Jun 23, 2026, 11:03 AM
Status
Deferred
Published
Sep 2, 2026, 6:17 AM
Modified
Oct 19, 2026, 10:10 PM