CVE-2026-21825 HCL Digital Experience Compose is affected by a reflected cross-site scripting (XSS) vulnerability in the search center

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript in a victim's browser via a reflected XSS vulnerability in the HCL Digital Experience Compose search center.

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-2026-21825?

CVE-2026-21825 is a medium-severity cross-site scripting vulnerability in HCLSoftware DX Compose, published on 5 Jun 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

HCL Digital Experience Compose is affected by a reflected cross-site scripting (XSS) vulnerability in the search center.  An attacker could execute arbitrary JavaScript in the victim's browser.

Weakness: CWE-79

Which versions are affected by CVE-2026-21825?

It affects 2 products.

Products include Hcltech Digital Experience, Hcltech Digital Experience Compose.

How do I fix CVE-2026-21825?

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

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

Sources

Also known as GHSA-26cp-fff5-jqv5.

Is CVE-2026-21825 in your software?

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

Check your SBOMs for free