# CVE-2024-47826: eLabFTW vulnerable to HTML Injection in extended search error message

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-10-14T17:59:26.283Z
- Modified: 2026-06-17T07:57:49.473Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

eLabFTW is an open source electronic lab notebook for research labs. A vulnerability in versions prior to 5.1.5 allows an attacker to inject arbitrary HTML tags in the pages: "experiments.php" (show mode), "database.php" (show mode) or "search.php". It works by providing HTML code in the extended search string, which will then be displayed back to the user in the error message. This means that injected HTML will appear in a red "alert/danger" box, and be part of an error message. Due to some other security measures, it is not possible to execute arbitrary javascript from this attack. As such, this attack is deemed low impact. Users should upgrade to at least version 5.1.5 to receive a patch. No known workarounds are available.

(As written by CVE List.)

## Affected

- elabftw elabftw: < 5.1.5; before 5.1.5

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/elabftw/elabftw/security/advisories/GHSA-cjww-pr9f-4c4w> (vendor-advisory)
- <https://www.acunetix.com/vulnerabilities/web/html-injection> (technical-description)

## Sources

- CVE List: [CVE-2024-47826](https://www.cve.org/CVERecord?id=CVE-2024-47826), CVE Terms of Use, modified 2024-10-15
- NVD: [CVE-2024-47826](https://nvd.nist.gov/vuln/detail/CVE-2024-47826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47826 · Whole record: https://cve.day/CVE-2024-47826.json · Rebuilt by cve.day 2026-11-25T22:58:46.735Z
