ome/omero-web · Security
Inconsistent input sanitisation leads to XSS vectors
- GHSA ID
- GHSA-g67g-hvc3-xmvf
- CVE ID
- CVE-2021-41132
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
Background
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 XSS possibilities with specially crafted input to a variety of fields.
Impact
OMERO.web before 5.11.0 and OMERO.figure before 4.4.1.
Patches
Users should upgrade OMERO.web to 5.11.0 or higher and OMERO.figure to 4.4.1 or higher.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-116 · Improper Encoding or Escaping of Output
References
- https://github.com/ome/omero-web/security/advisories/GHSA-g67g-hvc3-xmvf ↗
- https://github.com/ome/omero-web/commit/0168067accde5e635341b3c714b1d53ae92ba424 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2021-41132 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/omero-figure/PYSEC-2021-379.yaml ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/omero-web/PYSEC-2021-372.yaml ↗
- https://www.openmicroscopy.org/security/advisories/2021-SV3 ↗
- https://github.com/advisories/GHSA-g67g-hvc3-xmvf ↗