CVE-2026-21825 HCL Digital Experience Compose is affected by a reflected cross-site scripting (XSS) vulnerability in the search center
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.
Other vulnerabilities in HCLSoftware DX Compose
- CVE-2023-37538 HCL Digital Experience is susceptible to cross site scripting (XSS)
- CVE-2026-21837 HCL Digital Experience is affected by an OS command injection vulnerability in the Digital Asset Management API
- CVE-2020-14255 HCL Digital Experience 9.5 containers include vulnerabilities that could expose sensitive data to unauthorized parties via crafted requests.
- CVE-2026-21826 HCL Digital Experience and HCL Digital Experience Compose could be susceptible to Host header injection
- CVE-2025-62326 HCL Digital Experience is susceptible to stored cross-site scripting (XSS)
Sources
Also known as GHSA-26cp-fff5-jqv5.