CVE-2024-28100 Stored Cross-site Scripting leading to arbitrary actions taken on behalf of users in elabftw

High 8.9 Published Updated

Attackers can inject malicious scripts via file uploads, allowing arbitrary actions and potential privilege escalation for users viewing experiment lists.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-28100?

CVE-2024-28100 is a high-severity cross-site scripting vulnerability in elabftw, published on 2 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2024-28100?

It affects 1 product.

Products include Elabftw Elabftw.

How do I fix CVE-2024-28100?

No fix has been published for CVE-2024-28100 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-28100 being exploited?

There is no known exploitation of CVE-2024-28100 in the wild and no public exploit code.

Sources

Also known as GHSA-xp3v-w8cx-cqxc.

Is CVE-2024-28100 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free