Cross-site scripting in Elastic Kibana
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Kibana (Elastic) Fixed in 7.14.1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
Not affected: 4 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat OpenStack Platform 13 (Queens)
- Red Hat OpenStack Platform 16.1
- Red Hat OpenStack Platform 16.2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-37936
- 2026-10-03 Alias added: GHSA-p8x3-m7c8-mcj5
References
More Elastic Kibana vulnerabilities
- TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
- TI-2018-12328 Kibana versions before 6.4.3 and 5.6.13 contain an arbitrary file inclusion flaw in the… CVSS 3.0CRITICAL 9.8
- TI-2025-18692 Kibana arbitrary code execution via prototype pollution CVSS 3.1CRITICAL 9.8
- TI-2020-05660 Code injection in Elastic Kibana CVSS 3.1HIGH 8.8
- TI-2024-24803 Deserialization of untrusted data in Elastic Kibana CVSS 3.1CRITICAL 9.9
- TI-2024-24800 Kibana arbitrary code execution via YAML deserialization CVSS 3.1CRITICAL 9.1
Sources
- CVE-2021-37936 · CVE Program
- CVE-2021-37936 · NVD
- FIRST EPSS
- GHSA-p8x3-m7c8-mcj5 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-37936 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences