CVE-2021-37936
JSON

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 packageVersionsReported by
Elastic Kibanaversions before 7.14.1, before 7.14.1CVE List, NVD

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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

Sources

SourceRecordLicence
CVE ListCVE-2021-37936 changed 2025-04-29CVE Terms of Use
NVDCVE-2021-37936 changed 2026-06-17Public domain