{"id":"CVE-2021-31830","aliases":["EUVD-2021-18705","GHSA-xr2m-8rhq-x323"],"status":"published","title":"Cross site Scripting (XSS) vulnerability in McAfee DBSec","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00501,"percentile":0.43411,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-06-03T10:10:16Z","modified":"2026-06-17T03:52:18Z","products":[{"vendor":"mcafee","product":"database_security"},{"vendor":"mcafee,llc","product":"mcafee database security (dbsec)"}],"references":[{"url":"https://kc.mcafee.com/corporate/index?page=content\u0026id=SB10359","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31830"},{"url":"https://github.com/advisories/GHSA-xr2m-8rhq-x323"}],"sources":{"cve":[{"id":"CVE-2021-31830","title":"Cross site Scripting (XSS) vulnerability in McAfee DBSec","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.","status":"published","published":"2021-06-03T10:10:16Z","modified":"2024-08-03T23:10:30.698Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-18705","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.","status":"published","published":"2021-06-03T10:10:16Z","modified":"2024-08-03T23:10:30Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-03T03:24:37.97373Z"}],"ghsa":[{"id":"GHSA-xr2m-8rhq-x323","title":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')...","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.","status":"published","published":"2022-05-24T19:03:58Z","modified":"2023-11-16T03:30:18Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:55:02.891904Z"}],"nvd":[{"id":"CVE-2021-31830","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.","status":"published","published":"2021-06-03T11:15:08.66Z","modified":"2026-06-17T03:52:18.64Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:53.987491Z"}]}}
