{"id":"CVE-2021-37936","published":"2022-11-18T00:00:00Z","modified":"2025-04-29T14:41:56Z","title":"It was discovered that Kibana was not sanitizing document fields containing HTML snippets","vendor":"Elastic","product":"Kibana","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00599,"percentile":0.42714,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.elastic.co/community/security/","tags":[]},{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","tags":[]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":8.54},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"elastic","affectedVersions":[{"vendor":"Elastic","product":"Kibana","versions":["versions before 7.14.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-29T14:41:25.625879Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-24412","exploited":false,"provenance":"source"}}