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

Source: https://junglewise.ai/threats/cve-2021-41132-inconsistent-input-sanitisation-leads-to-xss-vectors  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-10-14  
License: CC BY 4.0 with a link back

CVE-2021-41132 · Severity: low · CVSS 3.1 · Published 2021-10-14

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.

Technologies: [omero-web (PyPI)](https://junglewise.ai/threats/technologies/omero-web). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2021-41132 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-41132 being exploited in the wild.

**How severe is CVE-2021-41132?** Low severity, with a CVSS score of 3.1, published 14 October 2021.

**Which products and versions are affected?** omero-figure (PyPI) ECOSYSTEM:introduced=0,fixed=4.4.1; omero-web (PyPI) ECOSYSTEM:introduced=0,fixed=5.11.0, GIT:introduced=0,fixed=0168067accde5e635341b3c714b1d53ae92ba424|ECOSYSTEM:introduced=0,fixed=5.11.0.

**Is there a fix for CVE-2021-41132?** Yes. omero-figure (PyPI): upgrade to 4.4.1 or later; omero-web (PyPI): upgrade to 5.11.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-41132?** Check whether you run omero-figure (PyPI) or omero-web (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- omero-figure (PyPI): upgrade to 4.4.1 or later

  ```sh
  pip install "omero-figure>=4.4.1"
  ```

- omero-web (PyPI): upgrade to 5.11.0 or later

  ```sh
  pip install "omero-web>=5.11.0"
  ```


## Affected products

- omero-figure (PyPI) ECOSYSTEM:introduced=0,fixed=4.4.1
- omero-web (PyPI) ECOSYSTEM:introduced=0,fixed=5.11.0, GIT:introduced=0,fixed=0168067accde5e635341b3c714b1d53ae92ba424|ECOSYSTEM:introduced=0,fixed=5.11.0

## Identifiers

- CVE-2021-41132
- GHSA-g67g-hvc3-xmvf
- PYSEC-2021-372
- PYSEC-2021-379

## Related threats

- [PYSEC-2026-1717 - OMERO.web displays unecessary user information when requesting password reset](https://junglewise.ai/threats/cve-2025-54791-omero-web-displays-unecessary-user-information-when-requesting)
- [PYSEC-2026-1718 - OMERO.web must check that the JSONP callback is a valid function](https://junglewise.ai/threats/cve-2024-35180-omero-web-must-check-that-the-jsonp-callback-is-a-valid-function)
- [OMERO.web uses jquery-form library, which may be vulnerable to XSS attack](https://junglewise.ai/threats/omero-web-uses-jquery-form-library-which-may-be-vulnerable-to-xss-1e26aa9c)
- [OMERO webclient does not validate URL redirects on login or switching group.](https://junglewise.ai/threats/cve-2021-21377-omero-webclient-does-not-validate-url-redirects-on-login-or)
- [OMERO.web exposes some unnecessary session information in the page](https://junglewise.ai/threats/cve-2021-21376-omero-web-exposes-some-unnecessary-session-information-in-the)
