CVE-2021-21377: Open Redirect Vulnerability in omero-web

omero-web Updated 02 Oct 2025

Summary

23/03/2021
Yes i
Moderate
4.8

CVE-2021-21377: OMERO.web is open source Django-based software for managing microscopy imaging. Affects omero-web across 2 version ranges.

< 5.9.0 < 952f8e5d28532fbb14fb665982211329d137908c

Fixed in 952f8e5d28532fbb14fb665982211329d137908c. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

OMERO.web is a Django-based open source software used for managing microscopy imaging. It provides functionalities for login and switching group context. The vulnerability in OMERO.web before version 5.9.0 allows redirection to untrusted sites after performing login or switching the group context. This is due to the lack of validation for the provided URLs, which can lead to potential security risks.

Vulnerability Detail

The vulnerability (CVE-2021-21377) in OMERO.web allows attackers to redirect users to malicious websites. By exploiting this vulnerability, an attacker can trick users into visiting a URL that appears legitimate but actually leads to a malicious site. This can result in various consequences, such as phishing attacks, the installation of malware, or the disclosure of sensitive information. OMERO.web 5.9.0 addresses this issue by implementing URL validation before redirection. External URLs are considered invalid unless explicitly specified in the omero.web.redirect_allowed_hosts setting.

How To Fix

Latest published version: 5.33.2 as of 22 Oct 2026

pip install --upgrade "omero-web==5.33.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

952f8e5d28532fbb14fb665982211329d137908c

This is the first release that contains the fix.

pip install --upgrade "omero-web==952f8e5d28532fbb14fb665982211329d137908c"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the latest version of OMERO.web.

Conclusion

The open redirect vulnerability in OMERO.web (CVE-2021-21377) allows attackers to redirect users to untrusted sites. Upgrading to OMERO.web version 5.9.0 or later is recommended to fix this vulnerability and ensure secure URL redirection. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for omero-web →

Share this vulnerability

FAQ

OMERO.web is an open source Django-based software used for managing microscopy imaging.

The vulnerability allows attackers to redirect users to untrusted sites, potentially leading to phishing attacks, malware installation, or the disclosure of sensitive information.

To fix this vulnerability, upgrade to OMERO.web version 5.9.0 or later.

There are no specific workarounds mentioned for this vulnerability. Upgrading to the latest version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for omero-web.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: 5.33.2 as of 22 Oct 2026

pip install --upgrade "omero-web==5.33.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

952f8e5d28532fbb14fb665982211329d137908c

This is the first release that contains the fix.

pip install --upgrade "omero-web==952f8e5d28532fbb14fb665982211329d137908c"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback