{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-31832 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-31832 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-31832 is a medium-severity cross-site scripting vulnerability in McAfee,LLC McAfee Data Loss Prevention (DLP) Endpoint for Windows, published on 9 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-31832 and fix it if it is affected.\n\nWhat it is: CVE-2021-31832 is a medium-severity cross-site scripting vulnerability in McAfee,LLC McAfee Data Loss Prevention (DLP) Endpoint for Windows, published on 9 Jun 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-31832 in the wild and no public exploit code.\n\nAffected product: McAfee,LLC McAfee Data Loss Prevention (DLP) Endpoint for Windows. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-31832/ (Markdown: https://insights.sbomify.com/CVE-2021-31832/index.md)","id":"CVE-2021-31832","markdown":"https://insights.sbomify.com/CVE-2021-31832/index.md","name":"CVE-2021-31832","record":{"aliases":["GHSA-gv79-wgjq-gc48"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"DLP Endpoint","requires_auth":"high_privilege","summary":"Remote administrators can inject JavaScript into DLP alert configurations, leading to code execution on end-user machines.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"trellix","cpe":[{"product":"data_loss_prevention","vendor":"mcafee"}],"cvss":{"score":5.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Improper Neutralization of Input in the ePO administrator extension for McAfee Data Loss Prevention (DLP) Endpoint for Windows prior to 11.6.200 allows a remote ePO DLP administrator to inject JavaScript code into the alert configuration text field. This JavaScript will be executed when an end user triggers a DLP policy on their machine.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Cross site scripting vulnerability in DLP Endpoint for Windows","id":"CVE-2021-31832","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Security feature bypass in McAfee Application and Change Control (MACC)","id":"CVE-2021-31833"},"packages":[],"prev":{"headline":"Incorrect access to deleted scripts vulnerability in McAfee DBSec","id":"CVE-2021-31831"},"products":["McAfee Data Loss Prevention (DLP) Endpoint for Windows"],"published":"2021-06-09","related":[{"cvss_score":8.4,"headline":"Blind SQL injection in DLP ePO extension","id":"CVE-2021-4088","kev_date_added":null,"published":"2022-01-24"},{"cvss_score":7.8,"headline":"Privilege escalation in McAfee DLP Endpoint for Windows","id":"CVE-2020-7346","kev_date_added":null,"published":"2021-03-23"},{"cvss_score":7.6,"headline":"DLP ePO extension - Cross-site request forgery","id":"CVE-2020-7304","kev_date_added":null,"published":"2020-08-13"},{"cvss_score":6.7,"headline":"DLP ePO extension - Privilege escalation","id":"CVE-2020-7305","kev_date_added":null,"published":"2020-08-13"},{"cvss_score":5.4,"headline":"DLP ePO extension - Unrestricted Upload of File with Dangerous Type","id":"CVE-2020-7302","kev_date_added":null,"published":"2020-08-13"},{"cvss_score":5.2,"headline":"DLP for Mac - Unprotected Storage of Credentials","id":"CVE-2020-7306","kev_date_added":null,"published":"2020-08-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["McAfee,LLC"]},"summary":"Remote administrators can inject JavaScript into DLP alert configurations, leading to code execution on end-user machines.","url":"https://insights.sbomify.com/CVE-2021-31832/"}