CVE-2021-41132: Inconsistent input sanitisation leads to XSS vectors

CVE-2021-41132 · Severity: low · CVSS 3.1 · Published 2021-10-14

OMERO.web provides a web based client and plugin infrastructure. In versions prior to 5.11.0, a variety of templates do not perform proper sanitization through HTML escaping. Due to the lack of sanitization and use of ``jQuery.html()``, there are a whole host of cross-site scripting possibilities with specially crafted input to a variety of fields. This issue is patched in version 5.11.0. There are no known workarounds aside from upgrading.

Technologies: omero-web (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-41132 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-41132 being exploited in the wild.
How severe is CVE-2021-41132?
Low severity, with a CVSS score of 3.1, published 14 October 2021.
Which products and versions are affected?
omero-figure (PyPI) ECOSYSTEM:introduced=0,fixed=4.4.1; omero-web (PyPI) ECOSYSTEM:introduced=0,fixed=5.11.0, GIT:introduced=0,fixed=0168067accde5e635341b3c714b1d53ae92ba424|ECOSYSTEM:introduced=0,fixed=5.11.0.
Is there a fix for CVE-2021-41132?
Yes. omero-figure (PyPI): upgrade to 4.4.1 or later; omero-web (PyPI): upgrade to 5.11.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-41132?
Check whether you run omero-figure (PyPI) or omero-web (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • omero-figure (PyPI): upgrade to 4.4.1 or later
    pip install "omero-figure>=4.4.1"
  • omero-web (PyPI): upgrade to 5.11.0 or later
    pip install "omero-web>=5.11.0"

Affected products

  • omero-figure (PyPI) ECOSYSTEM:introduced=0,fixed=4.4.1
  • omero-web (PyPI) ECOSYSTEM:introduced=0,fixed=5.11.0, GIT:introduced=0,fixed=0168067accde5e635341b3c714b1d53ae92ba424|ECOSYSTEM:introduced=0,fixed=5.11.0

Identifiers

  • CVE-2021-41132
  • GHSA-g67g-hvc3-xmvf
  • PYSEC-2021-372
  • PYSEC-2021-379

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.