# CVE-2021-31852: Cross-Site Scripting vulnerability in Policy Auditor

- Severity: Medium 6.1 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/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.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2021-11-23T19:16:50.000Z
- Modified: 2026-06-17T03:52:20.990Z
- Weaknesses: CWE-79
- Assigned by: trellix

## Description

A Reflected Cross-Site Scripting vulnerability in McAfee Policy Auditor prior to 6.5.2 allows a remote unauthenticated attacker to inject arbitrary web script or HTML via the UID request parameter. The malicious script is reflected unmodified into the Policy Auditor web-based interface which could lead to the extract of end user session token or login credentials. These may be used to access additional security-critical applications or conduct arbitrary cross-domain requests.

(As written by CVE List.)

## Affected

- McAfee,LLC McAfee Policy Auditor: from unspecified before 6.5.2
- mcafee policy_auditor: before 6.5.2

## Every score

- trellix: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

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

## Sources

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

---

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