# CVE-2021-21377: Open Redirect in OMERO.web

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2021-03-23T15:25:28.000Z
- Modified: 2026-07-08T06:27:39.407Z
- Also known as: GHSA-g4rf-pc26-6hmr, PYSEC-2021-32
- Weaknesses: CWE-601
- Assigned by: GitHub_M

## Description

OMERO.web is open source Django-based software for managing microscopy imaging. OMERO.web before version 5.9.0 supports redirection to a given URL after performing login or switching the group context. These URLs are not validated, allowing redirection to untrusted sites. OMERO.web 5.9.0 adds URL validation before redirecting. External URLs are not considered valid, unless specified in the omero.web.redirect_allowed_hosts setting.

(As written by CVE List.)

## Affected

- ome omero-web: < 5.9.0
- omero-web (PyPI): before 5.9.0; before 952f8e5d28532fbb14fb665982211329d137908c
- openmicroscopy omero.web: before 5.9.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.9 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:N`

## References

- <https://pypi.org/project/omero-web/> (package, third-party-advisory)
- <https://github.com/ome/omero-web/blob/master/CHANGELOG.md#590-march-2021> (release-notes, third-party-advisory, web)
- <https://github.com/ome/omero-web/commit/952f8e5d28532fbb14fb665982211329d137908c> (fix, patch, third-party-advisory, web)
- <https://github.com/ome/omero-web/security/advisories/GHSA-g4rf-pc26-6hmr> (advisory, third-party-advisory, web)
- <https://www.openmicroscopy.org/security/advisories/2021-SV2/> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21377> (advisory)
- <https://github.com/ome/omero-web> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/omero-web/PYSEC-2021-32.yaml> (web)
- <https://pypi.org/project/omero-web> (web)
- <https://www.openmicroscopy.org/security/advisories/2021-SV2> (web)

## Sources

- CVE List: [CVE-2021-21377](https://www.cve.org/CVERecord?id=CVE-2021-21377), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-g4rf-pc26-6hmr](https://github.com/advisories/GHSA-g4rf-pc26-6hmr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21377](https://nvd.nist.gov/vuln/detail/CVE-2021-21377), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-32](https://osv.dev/vulnerability/PYSEC-2021-32), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-21377 · Whole record: https://cve.day/CVE-2021-21377.json · Rebuilt by cve.day 2026-11-25T22:58:00.391Z
