{"api_version":"1","generated_at":"2026-07-24T02:46:32+00:00","cve":"CVE-2021-37936","urls":{"html":"https://cve.report/CVE-2021-37936","api":"https://cve.report/api/cve/CVE-2021-37936.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-37936","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-37936"},"summary":{"title":"CVE-2021-37936","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.","state":"PUBLIC","assigner":"security@elastic.co","published_at":"2022-11-18 23:15:00","updated_at":"2022-11-22 20:28:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://www.elastic.co/community/security/","name":"https://www.elastic.co/community/security/","refsource":"MISC","tags":[],"title":"Security issues | Elastic","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","name":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-37936","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37936","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"37936","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"elastic","cpe5":"kibana","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-37936","qid":"375877","title":"Kibana Multiple Security Vulnerabilities (ESA-2021-21, ESA-2021-22, ESA-2021-23, ESA-2021-24)"},{"cve":"CVE-2021-37936","qid":"375893","title":"Kibana Multiple HTML Injection Vulnerability (ESA-2021-23)"}]},"source_records":{"cve_program":{"data_format":"MITRE","data_type":"CVE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"security@elastic.co","ID":"CVE-2021-37936","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Elastic","product":{"product_data":[{"product_name":"Kibana","version":{"version_data":[{"version_value":"versions before 7.14.1"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation"}]}]},"references":{"reference_data":[{"url":"https://www.elastic.co/community/security/","refsource":"MISC","name":"https://www.elastic.co/community/security/"},{"url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077","refsource":"MISC","name":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-11-18 23:15:00","lastModifiedDate":"2022-11-22 20:28:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*","versionEndExcluding":"7.14.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"37936","Ordinal":"213539","Title":"CVE-2021-37936","CVE":"CVE-2021-37936","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"37936","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}