Stored Cross-site Scripting leading to arbitrary actions taken on behalf of users in elabftw
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-28100
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 05:48 UTC · Revision 1
Source evidence
Stored Cross-site Scripting leading to arbitrary actions taken on behalf of users in elabftw
core-osv · Original sourcePublished 2 Sept 2024, 16:10 UTC
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.
osv:CVE-2024-28100
Complete source record
{
"id": "8f1975413facbc3ccb6bf81f980cfa7ce8b39ebcda9cbb94639b3710d790164e",
"url": "https://osv.dev/vulnerability/CVE-2024-28100",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Stored Cross-site Scripting leading to arbitrary actions taken on behalf of users in elabftw",
"summary": "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.",
"evidence": "osv:CVE-2024-28100",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-28100",
"aliases": [
"CVE-2024-28100",
"GHSA-xp3v-w8cx-cqxc"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elabftw/elabftw",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bf6a2386ecf3e00d5cadea8ee6cd17d2ebeb3c83"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:elabftw:elabftw:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"5.0.0-beta3",
"5.0.0-beta2",
"5.0.0-beta",
"5.0.0-alpha4",
"5.0.0-alpha3",
"5.0.0-alpha2",
"5.0.0-alpha",
"4.9.0",
"4.9.0-beta2",
"4.9.0-beta",
"4.9.0-alpha",
"4.8.3",
"4.8.2",
"4.8.1",
"4.8.0",
"4.8.0-beta",
"4.8.0-alpha",
"4.7.0",
"4.6.1",
"4.6.0",
"4.6.0-beta2",
"4.6.0-beta",
"4.6.0-alpha4",
"4.6.0-alpha3",
"4.6.0-alpha2",
"4.6.0-alpha",
"4.5.12",
"4.5.4",
"4.5.3",
"4.5.2",
"4.5.1",
"4.5.0",
"4.5.0-beta3",
"4.5.0-beta2",
"4.5.0-beta",
"4.4.3",
"4.4.2",
"4.4.1",
"4.4.0",
"4.4.0-beta7",
"4.4.0-beta6",
"4.4.0-beta5",
"4.4.0-beta4",
"4.4.0-beta3",
"4.4.0-beta2",
"4.4.0-beta",
"4.4.0-alpha5",
"4.4.0-alpha4",
"4.4.0-alpha3",
"4.4.0-alpha2",
"4.4.0-alpha",
"4.3.3",
"4.3.2",
"4.3.1",
"4.3.0",
"4.3.0-beta5",
"4.3.0-beta4",
"4.3.0-beta3",
"4.3.0-beta2",
"4.3.0-beta",
"4.3.0-alpha",
"4.2.2",
"4.2.1",
"4.2.0",
"4.2.0-BETA",
"4.1.0",
"4.1.0-BETA6",
"4.1.0-BETA5",
"4.1.0-BETA4",
"4.1.0-BETA3",
"4.1.0-BETA2",
"4.1.0-BETA",
"4.0.11",
"4.0.10",
"4.0.9",
"4.0.8",
"4.0.7",
"4.0.6",
"4.0.5",
"4.0.4",
"4.0.3",
"4.0.2",
"4.0.1",
"4.0.0",
"4.0.0-beta6",
"4.0.0-beta5",
"4.0.0-beta4",
"4.0.0-beta3",
"4.0.0-beta2",
"4.0.0-beta",
"4.0.0-alpha2",
"4.0.0-alpha",
"3.6.4",
"3.6.3",
"3.6.2",
"3.6.1",
"3.6.0",
"3.6.0-rc",
"3.6.0-beta",
"3.6.0-alpha",
"3.5.4",
"3.5.3",
"3.5.2",
"3.5.1",
"3.5.0",
"3.5.0-rc",
"3.5.0-beta",
"3.4.10",
"3.4.9",
"3.4.8",
"3.4.7",
"3.4.6",
"3.4.5",
"3.4.4",
"3.4.3",
"3.4.2",
"3.4.1",
"3.4.0",
"3.4.0-beta",
"3.4.0-alpha",
"3.3.12",
"3.3.11",
"3.3.10",
"3.3.9",
"3.3.8",
"3.3.7",
"3.3.6",
"3.3.5",
"3.3.4",
"3.3.3",
"3.3.2",
"3.3.1",
"3.3.0",
"3.2.2",
"3.2.1",
"3.2.0",
"3.1.2",
"3.1.1",
"3.1.0",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"3.0.0-beta",
"3.0.0-alpha",
"2.0.7",
"2.0.6",
"2.0.5",
"2.0.4",
"2.0.3",
"2.0.2",
"2.0.1",
"2.0.0",
"2.0.0-beta",
"2.0.0-alpha2",
"2.0.0-alpha1",
"1.8.3",
"1.8.2",
"1.8.1",
"1.7.8",
"1.7.7",
"1.7.6",
"1.7.4",
"1.7.3",
"1.7.2",
"1.7.1",
"1.7.0",
"1.6.2",
"1.6.1",
"1.6.0",
"1.5.7",
"1.5.6",
"1.5.5",
"1.5.4",
"1.5.3",
"1.5.2",
"1.5.1",
"1.5.0",
"1.3.0",
"1.2.4",
"1.2.3",
"1.2.2",
"1.2.1",
"1.2.0-p3",
"1.2.0-p2",
"1.2.0-p1",
"1.2.0",
"1.2.0-beta",
"1.2.0-alpha",
"1.1.8-p2",
"1.1.8-p1",
"1.1.8",
"1.1.7",
"1.1.6",
"1.1.5-p1",
"1.1.5",
"1.1.5-beta",
"1.1.4-p2",
"1.1.4-p1",
"1.1.4",
"1.1.3",
"1.1.2-p1",
"1.1.2",
"1.1.0",
"1.0.0",
"1.0.0-beta",
"1.0.0-alpha",
"0.12.5",
"0.12.4",
"0.12.3",
"0.12.2",
"0.12.1",
"0.12.0",
"0.12.0-BETA",
"0.11.0a",
"0.11.0",
"0.11.0-RC",
"0.10.1",
"0.10.0",
"0.9.4.2",
"0.9.4",
"0.8.3",
"0.8.2",
"0.8.1",
"0.8",
"0.7.3.2",
"0.7.3.1",
"0.7.3",
"0.7.2",
"0.7.1",
"0.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-28100.json"
}
}
],
"modified": "2026-10-28T02:30:26.182648768Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28100.json",
"https://github.com/elabftw/elabftw/security/advisories/GHSA-xp3v-w8cx-cqxc",
"https://nvd.nist.gov/vuln/detail/CVE-2024-28100"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28100.json"
}
},
"related_cves": [
{
"value": "CVE-2024-28100",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492853,
"published_at": "2024-09-02T16:10:11.512+00:00"
}