{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21377","id":"CVE-2021-21377","title":"Open Redirect in OMERO.web","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.w","descriptionLong":"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.","published":"2021-03-23T15:25:28.000Z","updated":"2026-10-20T10:54:29.623641762Z","reserved":"2020-12-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["omero-web"],"affectedProducts":[{"vendor":"ome","product":"omero-web","defaultStatus":null,"versions":[{"status":"affected","version":"< 5.9.0"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"omero-web","purl":"pkg:pypi/omero-web","ranges":["<5.9.0"],"fixed":["5.9.0"],"advisory":"GHSA-g4rf-pc26-6hmr"}],"cwes":["CWE-601"],"aliases":["GHSA-g4rf-pc26-6hmr","PYSEC-2021-32"],"references":[{"url":"https://pypi.org/project/omero-web/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","package"]},{"url":"https://github.com/ome/omero-web/blob/master/CHANGELOG.md#590-march-2021","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/ome/omero-web/commit/952f8e5d28532fbb14fb665982211329d137908c","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/ome/omero-web/security/advisories/GHSA-g4rf-pc26-6hmr","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.openmicroscopy.org/security/advisories/2021-SV2/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21377","tags":["advisory"]},{"url":"https://github.com/ome/omero-web","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/omero-web/PYSEC-2021-32.yaml","tags":["web"]},{"url":"https://pypi.org/project/omero-web","tags":["web"]},{"url":"https://www.openmicroscopy.org/security/advisories/2021-SV2","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00826,"epssPercentile":0.58213,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21377","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21377","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21377","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g4rf-pc26-6hmr","ok":true,"note":"GHSA-g4rf-pc26-6hmr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21377","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}