# CVE-2021-37936: It was discovered that Kibana was not sanitizing document fields containing HTML snippets.

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2022-11-18T00:00:00.000Z
- Modified: 2026-06-17T04:01:16.953Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Elastic Kibana: versions before 7.14.1; before 7.14.1

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## 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

- CVE List: [CVE-2021-37936](https://www.cve.org/CVERecord?id=CVE-2021-37936), CVE Terms of Use, modified 2025-04-29
- NVD: [CVE-2021-37936](https://nvd.nist.gov/vuln/detail/CVE-2021-37936), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37936 · Whole record: https://cve.day/CVE-2021-37936.json · Rebuilt by cve.day 2026-11-25T22:58:07.883Z
