{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-31830","published":"2021-06-03T11:15:08.660000Z","last_modified":"2026-06-17T03:52:18.640000Z","status":"Modified","cvss":{"version":"3.1","score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mcafee:database_security:*:*:*:*:*:*:*:*","part":"a","vendor":"mcafee","product":"database_security","version_end_excluding":"4.8.2"}],"cpes_truncated":false,"vendors":["mcafee"],"products":["mcafee/database_security"],"epss":{"score":0.00501,"percentile":0.35873,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":29,"links":{"html_es":"/es/cve/CVE-2021-31830/","html_en":"/en/cve/CVE-2021-31830/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31830","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31830"},"untrusted":{"vendor_name":"Mcafee","product_name":"Database Security","desc_en":"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.","affected":[{"untrusted_vendor":"McAfee,LLC","untrusted_product":"McAfee Database Security (DBSec)","versions":[]}],"references":[{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10359","tags":["Broken Link","Vendor Advisory"]}]}}