CVE-2024-35180: OMERO.web JSONP Callback Validation Vulnerability
Summary
CVE-2024-35180: OMERO.web must check that the JSONP callback is a valid function. Affects omero-web versions < 5.26.0. Fixed in 5.26.0. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
OMERO.web is a web-based interface for the OMERO platform, which is used for managing and sharing biological image data. It provides various endpoints for accessing image metadata and supports JSONP for cross-domain requests. However, the lack of validation for the JSONP callback parameter poses a security risk, particularly for plugins that utilize these endpoints.
Vulnerability Detail
The vulnerability arises from the absence of escaping or validation of the 'callback' parameter in OMERO.web's JSONP-enabled endpoints. This can potentially allow an attacker to exploit the system by injecting malicious JavaScript code through crafted callback names. Although the risk is minimized when using jQuery's callback name generation, the vulnerability remains significant for custom implementations or third-party plugins that may not adhere to these practices.
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
5.26.0
This is the first release that contains the fix.
pip install --upgrade "omero-web==5.26.0"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no known workarounds for this vulnerability. The best course of action is to upgrade to the latest version of OMERO.web.
Conclusion
In summary, the vulnerability identified as CVE-2024-35180 in OMERO.web highlights the importance of validating user input, particularly in JSONP callbacks. Users are strongly advised to upgrade to version 5.26.0 or higher to mitigate the risks associated with this vulnerability.
See every vulnerability recorded for omero-web →
FAQ
The vulnerability is related to the lack of validation for the JSONP callback parameter in OMERO.web, which can lead to potential code injection attacks.
You can check if your application is affected by using the Vulert playground at Vulert Scanner, which monitors and alerts for open-source vulnerabilities.
The CVSS score of this vulnerability is 6.1, indicating a moderate level of risk.
Yes, users should upgrade to OMERO.web version 5.26.0 or higher to address this vulnerability.
While there are no workarounds available, it is crucial to plan for an upgrade to the patched version as soon as possible to ensure the security of your application.
References
Related vulnerabilities
Recent vulnerabilities recorded for omero-web.