---
id: CVE-2026-42401
title: >-
  Improper Neutralization of Input During Web Page Generation (CWE-79) in Kibana
  can lead to stored HTML injection
summary: >-
  Improper Neutralization of Input During Web Page Generation (CWE-79) in Kibana
  can lead to stored HTML injection. A user with write access to an
  Elasticsearch index could persist crafted markup which, when subsequently
  rendered through a…
severity: medium
cvss: 4.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N'
cwe:
  - CWE-79
vendor: elastic
product: kibana
affected:
  - 'kibana >= 8.0.0, < 8.19.16'
  - 'kibana >= 9.0.0, < 9.3.5'
patched:
  - kibana 9.3.5
published: '2026-05-28'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42401'
references:
  - url: >-
      https://discuss.elastic.co/t/kibana-8-19-16-9-3-5-security-update-esa-2026-34/386552
    label: security@elastic.co
tags:
  - nvd
epss: 0.00235
epssPercentile: 0.13347
ingestedAt: '2026-10-14T20:53:12.344Z'
---

## Overview

Improper Neutralization of Input During Web Page Generation (CWE-79) in Kibana can lead to stored HTML injection. A user with write access to an Elasticsearch index could persist crafted markup which, when subsequently rendered through an affected Kibana view by another user, was not sufficiently sanitized. Successful exploitation could result in unauthorized UI manipulation and outbound network requests issued from the viewing user's browser session.

## Affected

- `kibana >= 8.0.0, < 8.19.16`
- `kibana >= 9.0.0, < 9.3.5`

## Remediation

Upgrade past the affected range:

- `kibana 9.3.5`
