CVE-2024-47826
JSON

3.5low

eLabFTW vulnerable to HTML Injection in extended search error message

Severity
3.5low CVSS:3.1 by GitHub_M
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
elabftw elabftw< 5.1.5, before 5.1.5CVE List, NVD

All scores

GitHub_M3.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

eLabFTW es un cuaderno de laboratorio electrónico de código abierto para laboratorios de investigación. Una vulnerabilidad en versiones anteriores a la 5.1.5 permite a un atacante inyectar etiquetas HTML arbitrarias en las páginas: "experiments.php" (modo de visualización), "database.php" (modo de visualización) o "search.php". Funciona proporcionando código HTML en la cadena de búsqueda extendida, que luego se mostrará al usuario en el mensaje de error. Esto significa que el HTML inyectado aparecerá en un cuadro rojo de "alerta/peligro" y será parte de un mensaje de error. Debido a otras medidas de seguridad, no es posible ejecutar javascript arbitrario desde este ataque. Como tal, este ataque se considera de bajo impacto. Los usuarios deben actualizar al menos a la versión 5.1.5 para recibir un parche. No se workarounds disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47826 changed 2024-10-15CVE Terms of Use
NVDCVE-2024-47826 changed 2026-06-17Public domain