5.4medium
It was discovered that Kibana was not sanitizing document fields containing HTML snippets.
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.60% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- elastic
Description
It was discovered that Kibana was not sanitizing document fields containing HTML snippets. Using this vulnerability, an attacker with the ability to write documents to an elasticsearch index could inject HTML. When the Discover app highlighted a search term containing the HTML, it would be rendered for the user.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Elastic Kibana | versions before 7.14.1, before 7.14.1 | CVE List, NVD |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
It was discovered that Kibana was not sanitizing document fields containing HTML snippets. Using this vulnerability, an attacker with the ability to write documents to an elasticsearch index could inject HTML. When the Discover app highlighted a search term containing the HTML, it would be rendered for the user.
NVD (es)
Se descubrió que Kibana no estaba sanitizando los campos de documentos que contenían fragmentos de HTML. Utilizando esta vulnerabilidad, un atacante con la capacidad de escribir documentos en un índice de elasticsearch podría inyectar HTML. Cuando la aplicación Discover resaltaba un término de búsqueda que contenía HTML, se mostraba al usuario.
References
| https://www.elastic.co/community/security/ | mitigation, vendor-advisory | |
| https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077 | mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37936 changed 2025-04-29 | CVE Terms of Use |
| NVD | CVE-2021-37936 changed 2026-06-17 | Public domain |