What’s Vulnerable › Vulnerabilities
CVE-2024-28100: Stored Cross-site Scripting leading to arbitrary actions taken on behalf of users in elabftw
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-02 · updated 2026-06-17
- Weakness: CWE-79
Description
eLabFTW is an open source electronic lab notebook for research labs. By uploading specially crafted files, a regular user can create a circumstance where a visitor's browser runs arbitrary JavaScript code in the context of the eLabFTW application. This can be triggered by the visitor viewing a list of experiments. Viewing this allows the malicious script to act on behalf of the visitor in any way, including the creation of API keys for persistence, or other options normally available to the user. If the user viewing the page has the sysadmin role in eLabFTW, the script can act as a sysadmin (including system configuration and extensive user management roles). Users are advised to upgrade to at least version 5.0.0. There are no known workarounds for this vulnerability.
Affected products
- elabftw: before 5.0.0 — fixed in 5.0.0
How to fix
Upgrade to a fixed version: elabftw 5.0.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-28100 or the next vulnerability affects your stack