CVE-2021-37936
Kibana vulnerability analysis and mitigation

Overview

A vulnerability was discovered in Kibana (CVE-2021-37936) where the application failed to properly sanitize document fields containing HTML snippets. The issue was identified in Kibana version 7.14.0 and was disclosed in September 2021. This vulnerability affects the Discover app functionality within Kibana (Elastic Advisory).

Technical details

The vulnerability stems from improper sanitization of HTML content in document fields. When the Discover app highlights a search term containing unsanitized HTML, the content would be rendered for the user, leading to a potential Cross-Site Scripting (XSS) vulnerability. The issue has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, and is classified as CWE-79: Improper Neutralization of Input During Web Page Generation (NVD).

Impact

The vulnerability allows an attacker with the ability to write documents to an Elasticsearch index to inject HTML code. When a user accesses the affected document through the Discover app's search functionality, the injected HTML would be rendered in their browser, potentially leading to cross-site scripting attacks (Elastic Advisory).

Mitigation and workarounds

Users can mitigate this vulnerability by either upgrading to Kibana version 7.14.1 or by setting 'doc_table:highlight' to 'false' in the Kibana Advanced Settings. The permanent solution is to upgrade to the fixed version 7.14.1 (Elastic Advisory).

Additional resources


SourceThis report was generated using AI

Related Kibana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-37735HIGH7
  • KibanaKibana
  • cpe:2.3:a:elastic:kibana
NoYesNov 06, 2025
CVE-2025-25017MEDIUM6.1
  • KibanaKibana
  • cpe:2.3:a:elastic:kibana
NoYesOct 10, 2025
CVE-2025-25018MEDIUM5.4
  • KibanaKibana
  • cpe:2.3:a:elastic:kibana
NoYesOct 10, 2025
CVE-2025-37728MEDIUM5.4
  • KibanaKibana
  • cpe:2.3:a:elastic:kibana
NoYesOct 07, 2025
CVE-2025-37734MEDIUM4.3
  • KibanaKibana
  • cpe:2.3:a:elastic:kibana
NoYesNov 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management