CVE-2021-41132: Cross-Site Scripting Vulnerability in omero-web

omero-web Updated 02 Oct 2025

Summary

14/10/2021
Yes i
Critical
9.8

CVE-2021-41132: OMERO.web provides a web based client and plugin infrastructure. Affects omero-web across 2 version ranges.

< 5.11.0 < 0168067accde5e635341b3c714b1d53ae92ba424

Fixed in 0168067accde5e635341b3c714b1d53ae92ba424. How to fix ↓

Also tracked for

The same CVE-2021-41132 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

OMERO.web is a web-based client and plugin infrastructure. It provides a user interface for managing and analyzing scientific images. The vulnerability affects versions prior to 5.11.0 of the omero-web package. This package is available on PyPI (Python Package Index) and can be used in Python projects. The vulnerability arises from a lack of proper sanitization in various templates, which allows for potential cross-site scripting attacks. The issue has been addressed in version 5.11.0 of the package.

Vulnerability Detail

The vulnerability in omero-web versions prior to 5.11.0 arises from the improper sanitization of HTML escaping in various templates. This lack of sanitization, combined with the use of jQuery.html(), opens up the possibility of cross-site scripting attacks. An attacker can exploit this vulnerability by crafting specially designed input to specific fields. The impact of successful exploitation can range from unauthorized access to sensitive information to the execution of malicious code on the victim's browser. It is crucial to upgrade to version 5.11.0 or later to mitigate this vulnerability.

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

0168067accde5e635341b3c714b1d53ae92ba424

This is the first release that contains the fix.

pip install --upgrade "omero-web==0168067accde5e635341b3c714b1d53ae92ba424"

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

Conclusion

The CVE-2021-41132 vulnerability in omero-web versions prior to 5.11.0 exposes the application to potential cross-site scripting attacks. It is crucial to upgrade to version 5.11.0 or later to mitigate this vulnerability. No known workarounds are available. For further support on vulnerability remediation or any other security concerns, you can reach out to DevNack.com.

See every vulnerability recorded for omero-web →

Share this vulnerability

FAQ

The vulnerability allows for potential cross-site scripting attacks, which can lead to unauthorized access to sensitive information or the execution of malicious code on the victim's browser.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

There are no known workarounds for this vulnerability aside from upgrading to omero-web version 5.11.0 or later.

While manual input sanitization can be effective in certain cases, it is recommended to rely on the official fix provided by upgrading to omero-web version 5.11.0 or later. Manual sanitization may introduce errors or miss certain edge cases, so it is best to use the official fix.

For further support on vulnerability remediation or any other security concerns, you can reach out to info@devnack.com.

Related vulnerabilities

Recent vulnerabilities recorded for omero-web.

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

0168067accde5e635341b3c714b1d53ae92ba424

This is the first release that contains the fix.

pip install --upgrade "omero-web==0168067accde5e635341b3c714b1d53ae92ba424"

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