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.
                
            References
                    | Link | Resource | 
|---|---|
| https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077 | Mitigation Vendor Advisory | 
| 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 | 
| https://www.elastic.co/community/security/ | Mitigation Vendor Advisory | 
Configurations
                    History
                    21 Nov 2024, 06:16
| Type | Values Removed | Values Added | 
|---|---|---|
| References | () https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077 - Mitigation, Vendor Advisory | |
| References | () https://www.elastic.co/community/security/ - Mitigation, Vendor Advisory | 
Information
                Published : 2022-11-18 23:15
Updated : 2025-04-29 15:15
NVD link : CVE-2021-37936
Mitre link : CVE-2021-37936
CVE.ORG link : CVE-2021-37936
JSON object : View
Products Affected
                elastic
- kibana
CWE
                
                    
                        
                        CWE-79
                        
            Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
