CVE-2024-12021 Stored Cross-Site Scripting

High 8.5 Published Updated

Stored XSS in Coverity admin interfaces allows attackers to compromise local accounts and execute scripts.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12021?

CVE-2024-12021 is a high-severity cross-site scripting vulnerability in Black Duck Coverity, published on 31 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Coverity versions prior to 2024.9.0 are vulnerable to stored cross-site scripting (XSS) in various administrative interfaces. The impact of exploitation may result in the compromise of local accounts managed by the Coverity platform as well as other standard impacts resulting from cross-site scripting.

Weakness: CWE-79

Which versions are affected by CVE-2024-12021?

How do I fix CVE-2024-12021?

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

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

Sources

Also known as GHSA-wgw2-48jp-77f3.

Is CVE-2024-12021 in your software?

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

Check your SBOMs for free