# CVE-2021-21376: OMERO.web exposes some unnecessary session information in the page

Source: https://junglewise.ai/threats/cve-2021-21376-omero-web-exposes-some-unnecessary-session-information-in-the  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-03-23  
License: CC BY 4.0 with a link back

CVE-2021-21376 · Severity: low · CVSS 3.1 · Published 2021-03-23

OMERO.web is open source Django-based software for managing microscopy imaging. OMERO.web before version 5.9.0 loads various information about the current user such as their id, name and the groups they are in, and these are available on the main webclient pages. This represents an information exposure vulnerability. Some additional information being loaded is not used by the webclient and is being removed in this release. This is fixed in version 5.9.0.

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

## Quick answers

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

**How severe is CVE-2021-21376?** Low severity, with a CVSS score of 3.1, published 23 March 2021.

**Which products and versions are affected?** omero-web (PyPI) ECOSYSTEM:introduced=0,fixed=5.9.0, GIT:introduced=0,fixed=952f8e5d28532fbb14fb665982211329d137908c|ECOSYSTEM:introduced=0,fixed=5.9.0.

**Is there a fix for CVE-2021-21376?** Yes. omero-web (PyPI): upgrade to 5.9.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-21376?** Check whether you run 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-web (PyPI): upgrade to 5.9.0 or later

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


## Affected products

- omero-web (PyPI) ECOSYSTEM:introduced=0,fixed=5.9.0, GIT:introduced=0,fixed=952f8e5d28532fbb14fb665982211329d137908c|ECOSYSTEM:introduced=0,fixed=5.9.0

## Identifiers

- CVE-2021-21376
- GHSA-gfp2-w5jm-955q
- PYSEC-2021-31

## 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)
- [Inconsistent input sanitisation leads to XSS vectors](https://junglewise.ai/threats/cve-2021-41132-inconsistent-input-sanitisation-leads-to-xss-vectors)
- [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)
