{"id":"CVE-2021-37936","aliases":[],"summary":"It was discovered that Kibana was not sanitizing document fields containing HTML snippets.","published_at":"2022-11-18T00:00:00Z","modified_at":"2025-04-29T15:20:15Z","products":[{"slug":"elasticsearch","name":"Elasticsearch / Kibana","category":"monitoring"},{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"medium","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attack_path":"internet_authenticated","user_interaction":true,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"moderate"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0059899999760091305,"percentile":0.4947099983692169,"date":"2026-11-19T00:00:00Z"},"priority":5.9,"details":"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.","affected_stack":[{"ecosystem":"CVE","package":"Elastic/Kibana","versions":["versions before 7.14.1"],"provider":"cvelistv5","source":"CVE-2021-37936","relation":"self"},{"ecosystem":"NVD","package":"elastic:kibana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.14.1"}]}],"fixed":["7.14.1"],"provider":"nvd","source":"CVE-2021-37936","relation":"self"},{"ecosystem":"Red Hat:openshift:3.11","package":"kibana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-37936","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/elasticsearch-rhel8-operator","openshift-logging/kibana6-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse 6","cpe":"cpe:/a:redhat:jboss_fuse:6","status":"affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse Service Works 6","cpe":"cpe:/a:redhat:jboss_fuse_service_works:6","status":"affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"affected","packages":["kibana","openshift3/ose-logging-kibana5"],"package_count":2,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["puppet-kibana3"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.1","cpe":"cpe:/a:redhat:openstack:16.1","status":"not_affected","packages":["puppet-kibana3"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","cpe":"cpe:/a:redhat:openstack:16.2","status":"not_affected","packages":["puppet-kibana3"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0029","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0029","license":"TLP:CLEAR, mirroring permitted","published_at":"2021-09-01T22:00:00Z","modified_at":"2026-08-31T22:00:00Z","summary":"Elasticsearch und Kibana: Mehrere Schwachstellen","details":"Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Elasticsearch und Kibana ausnutzen, um beliebigen Programmcode auszuführen, um Informationen offenzulegen, um einen Cross-Site Scripting Angriff durchzuführen und um Administratorrechte zu erlangen.\n\nElasticsearch ist eine Open Source, verteilte Echtzeit-Suche und Analyse-Engine.\r\nKibana ist ein Open Source Datenvisualisierungs-Plugin für Elasticsearch.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2022-0029"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-0029.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0029"},{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3639"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3638"},{"type":"WEB","url":"http://linux.oracle.com/errata/ELSA-2021-3623.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2021-September/009484.html"},{"type":"WEB","url":"https://support.f5.com/csp/article/K53225395"},{"type":"WEB","url":"https://alas.aws.amazon.com/ALAS-2021-1545.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:2043"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:4880"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:5188"},{"type":"WEB","url":"https://www.dell.com/support/kbdoc/000503504/dsa-2026-386-security-update-f"}]},{"provider":"cvelistv5","source_id":"CVE-2021-37936","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-37936","license":"CC-BY-4.0","published_at":"2022-11-18T00:00:00Z","modified_at":"2025-04-29T14:41:56.213Z","summary":"It was discovered that Kibana was not sanitizing document fields containing HTML snippets.","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"CISA-ADP:CVE-2021-37936"}],"affected":[{"ecosystem":"CVE","package":"Elastic/Kibana","versions":["versions before 7.14.1"],"provider":"cvelistv5","source":"CVE-2021-37936","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://www.elastic.co/community/security/"},{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"}]},{"provider":"csaf-suse","source_id":"CVE-2021-37936","relation":"self","url":"https://www.suse.com/security/cve/CVE-2021-37936/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-02-15T03:39:11Z","modified_at":"2025-04-25T04:34:39Z","summary":"SUSE CVE CVE-2021-37936","details":"SUSE CVE-2021-37936\n\nIt 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.","severity":[{"type":"SUSE","score":"moderate","source":"CVE-2021-37936"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"HPE Helion OpenStack 8","cpe":"cpe:/o:suse:hpe-helion-openstack:8","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 8","cpe":"cpe:/o:suse:suse-openstack-cloud:8","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud 9","cpe":"cpe:/o:suse:suse-openstack-cloud:9","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 8","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"},{"vendor":"SUSE","product":"SUSE OpenStack Cloud Crowbar 9","cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9","status":"not_affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2021-37936"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-37936"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1205625"}]},{"provider":"nvd","source_id":"CVE-2021-37936","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37936","severity":[],"affected":[{"ecosystem":"NVD","package":"elastic:kibana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.14.1"}]}],"fixed":["7.14.1"],"provider":"nvd","source":"CVE-2021-37936","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2021-37936","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-37936","license":"CC-BY-4.0","published_at":"2022-11-19T00:00:00Z","modified_at":"2025-04-29T15:20:15Z","summary":"kibana: HTML injection issue (ESA-2021-23)","details":"A flaw was found in Kibana. This issue occurs due to Kibana not sanitizing document fields containing HTML snippets. 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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"CVE-2021-37936"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-37936"}],"affected":[{"ecosystem":"Red Hat:openshift:3.11","package":"kibana","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2021-37936","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:5","status":"not_affected","packages":["openshift-logging/elasticsearch-rhel8-operator","openshift-logging/kibana6-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse 6","cpe":"cpe:/a:redhat:jboss_fuse:6","status":"affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat JBoss Fuse Service Works 6","cpe":"cpe:/a:redhat:jboss_fuse_service_works:6","status":"affected","packages":["kibana"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 3.11","cpe":"cpe:/a:redhat:openshift:3.11","status":"affected","packages":["kibana","openshift3/ose-logging-kibana5"],"package_count":2,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","cpe":"cpe:/a:redhat:openstack:13","status":"not_affected","packages":["puppet-kibana3"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.1","cpe":"cpe:/a:redhat:openstack:16.1","status":"not_affected","packages":["puppet-kibana3"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 16.2","cpe":"cpe:/a:redhat:openstack:16.2","status":"not_affected","packages":["puppet-kibana3"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-37936"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-37936.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-37936"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2148121"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-37936"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37936"},{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"}]}],"references":[{"type":"WEB","url":"https://www.elastic.co/community/security/"},{"type":"WEB","url":"https://discuss.elastic.co/t/elastic-stack-7-14-1-security-update/283077"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-37936"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1205625"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-37936.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-37936"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2148121"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-37936"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37936"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0029","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0029","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-31T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-37936","url":"https://www.cve.org/CVERecord?id=CVE-2021-37936","license":"CC-BY-4.0","modified_at":"2025-04-29T14:41:56.213Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2021-37936","url":"https://www.suse.com/security/cve/CVE-2021-37936/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-04-25T04:34:39Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-37936","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-37936","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-37936","url":"https://access.redhat.com/security/cve/CVE-2021-37936","license":"CC-BY-4.0","modified_at":"2025-04-29T15:20:15Z","relation":"self"}]}
