CVE-2021-31830 Cross site Scripting (XSS) vulnerability in McAfee DBSec

Medium 5.9 Published Updated

An administrator can inject JavaScript into database names, leading to XSS when other users view the configuration page.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-31830?

CVE-2021-31830 is a medium-severity cross-site scripting vulnerability in McAfee,LLC McAfee Database Security (DBSec), published on 3 Jun 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in McAfee Database Security (DBSec) prior to 4.8.2 allows an administrator to embed JavaScript code when configuring the name of a database to be monitored. This would be triggered when any authorized user logs into the DBSec interface and opens the properties configuration page for this database.

Weakness: CWE-79

Which versions are affected by CVE-2021-31830?

It affects 1 product.

Products include Mcafee Database Security.

How do I fix CVE-2021-31830?

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

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

Sources

Also known as GHSA-xr2m-8rhq-x323.

Is CVE-2021-31830 in your software?

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

Check your SBOMs for free