CVE-2025-15664 BEAF < 4.7.19 - Author+ Stored XSS via Before Label

Medium 6.8 Published Updated

Authors can inject malicious scripts via slider labels that execute in administrators' browsers, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-15664?

CVE-2025-15664 is a medium-severity cross-site scripting vulnerability in Unknown Ultimate Before After Image Slider & Gallery, published on 2 Sep 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Ultimate Before After Image Slider & Gallery WordPress plugin before 4.7.19 does not properly escape the slider's before-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.

Weakness: CWE-79

Which versions are affected by CVE-2025-15664?

How do I fix CVE-2025-15664?

No fix has been published for CVE-2025-15664 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-15664 being exploited?

There is no known exploitation of CVE-2025-15664 in the wild and no public exploit code.

Sources

Also known as GHSA-jmj2-wp2q-8p2g.

Is CVE-2025-15664 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free