CVE-2025-31970 HCL DFXAnalytics is affected by an Insecure Security Header configuration vulnerability
Attackers can exploit weak Content-Security-Policy headers to perform Cross-Site Scripting attacks against HCL DFXAnalytics users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-31970?
CVE-2025-31970 is a medium-severity cross-site scripting vulnerability in HCL DFXAnalytics, published on 6 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HCL DFXAnalytics is affected by an Insecure Security Header configuration vulnerability where the Content-Security-Policy does not define strict directives for object-src and base-uri, which could allow an attacker to exploit injection vectors such as Cross-Site Scripting (XSS)
Which versions are affected by CVE-2025-31970?
It affects 1 product.
Products include Hcltech Dfxanalytics.
How do I fix CVE-2025-31970?
No fix has been published for CVE-2025-31970 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-31970 being exploited?
There is no known exploitation of CVE-2025-31970 in the wild and no public exploit code.
Other vulnerabilities in HCL DFXAnalytics
- CVE-2026-56454 HCL DFXAnalytics is affected by a Deprecated Protocol vulnerability due to the use of TLS 1.0 and TLS 1.1.
- CVE-2026-56453 HCL DFXAnalytics is affected by an Account Takeover via Response Manipulation vulnerability.
- CVE-2026-56455 HCL DFXAnalytics is affected by a Buffer Overflow vulnerability that can lead to a Denial of Service (DoS).
- CVE-2026-56456 HCL DFXAnalytics is affected by an Internal File Path Disclosure vulnerability.
- CVE-2025-59851 HCL DFXAnalytics is affected by an Insecure Security Header configuration vulnerability
Sources
Also known as GHSA-wwg7-35h6-45wq.