---
id: CVE-2025-15665
title: >-
  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 …
summary: >-
  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 …
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'
published: '2026-07-14'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T15:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-15665'
references:
  - url: 'https://wpscan.com/vulnerability/754f0960-efc8-426f-bb1d-7cceec920910/'
    label: contact@wpscan.com
tags:
  - nvd
epss: 0.00226
epssPercentile: 0.11984
ingestedAt: '2026-09-29T16:39:33.225Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
