CVE-2021-21377
Python vulnerability analysis and mitigation

Overview

OMERO.web, an open source Django-based software for managing microscopy imaging, was found to contain a URL validation vulnerability (CVE-2021-21377) prior to version 5.9.0. The software supported redirection to specified URLs after login or group context switching without proper validation, allowing potential redirection to untrusted sites (OME Advisory, GitHub Advisory).

Technical details

The vulnerability is classified as CWE-601 (URL Redirection to Untrusted Site). It received a CVSS v3.1 base score of 5.4 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) from NVD, while GitHub assessed it with a score of 4.8 MEDIUM (Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N) (NVD).

Impact

The vulnerability could allow attackers to redirect users to malicious websites after login or when switching group contexts. External URLs were not validated, potentially exposing users to phishing attacks or other malicious content (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in OMERO.web version 5.9.0, which added URL validation before redirecting. The update includes a new setting 'omero.web.redirectallowedhosts' that must be configured to explicitly allow external URLs. Users should upgrade to version 5.9.0 or later to resolve this security issue (OME Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65896CRITICAL9.8
  • PythonPython
  • asyncmy
NoNoDec 02, 2025
CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management