CVE-2025-51684 Cross-site scripting in n/a

Medium 6.1 Published Updated

Attackers can execute arbitrary JavaScript in the hosting site context via unsanitized postMessage data in the CleverTap Web SDK.

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

What is CVE-2025-51684?

CVE-2025-51684 is a medium-severity cross-site scripting vulnerability in n/a, published on 30 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

CleverTap Web SDK v1.15.1 is vulnerable to Cross Site Scripting (XSS). The application does not sanitize untrusted data received via window.postMessage before injecting it into the page DOM. An attacker can craft a malicious message that, when processed by renderCustomHtml, results in execution of arbitrary JavaScript in the context of the hosting site.

Weakness: CWE-79

Which versions are affected by CVE-2025-51684?

How do I fix CVE-2025-51684?

No fix has been published for CVE-2025-51684 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-51684 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51684 exists.

Sources

Also known as GHSA-72f8-2pfx-xx29.

Is CVE-2025-51684 in your software?

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

Check your SBOMs for free