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

- Severity: Medium 5.9 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2021-06-03T10:10:16.000Z
- Modified: 2026-06-17T03:52:18.640Z
- Weaknesses: CWE-79
- Assigned by: trellix

## 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.

(As written by CVE List.)

## Affected

- McAfee,LLC McAfee Database Security (DBSec): from unspecified before 4.8.2
- mcafee database_security: before 4.8.2

## Every score

- trellix: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10359> (broken-link, vendor-advisory)

## Sources

- CVE List: [CVE-2021-31830](https://www.cve.org/CVERecord?id=CVE-2021-31830), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31830](https://nvd.nist.gov/vuln/detail/CVE-2021-31830), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31830 · Whole record: https://cve.day/CVE-2021-31830.json · Rebuilt by cve.day 2026-11-25T22:58:01.632Z
