CVE-2025-31970 HCL DFXAnalytics is affected by an Insecure Security Header configuration vulnerability

Medium 5.3 Published Updated

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)

Weakness: CWE-79, CWE-358

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.

Sources

Also known as GHSA-wwg7-35h6-45wq.

Is CVE-2025-31970 in your software?

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

Check your SBOMs for free