OMERO.web 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.
OMERO.web before 5.9.0
5.9.0
No workaround
If you have any questions or comments about this advisory:
* Open an issue in omero-web
* Email us at security
| Score | Percentile |
|---|---|
| 0.31% | 54.54% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 4.8 | 3.1 | — |
|
| 5.9 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-g4rf-pc26-6hmr ↗ |
| CVE | CVE-2021-21377 ↗ |
| CWE id | Name |
|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| pip | omero-web | < 5.9.0 | 5.9.0 | — |