Skip to main content

Kibana CVE-2026-42401

| EUVDEUVD-2026-33012 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-28 elastic GHSA-7r23-c4px-q9xc
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Elasticsearch write credential
  2. Delivery
    Write crafted HTML payload into target index field
  3. Exploit
    Victim authenticates to Kibana and opens affected view
  4. Execution
    Kibana renders unsanitized field value in DOM
  5. Persist
    Browser executes injected markup
  6. Impact
    Outbound request or UI manipulation occurs in victim session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete prerequisites: (1) the attacker must hold write access to at least one Elasticsearch index whose data is rendered by a Kibana view - this maps to PR:L in the CVSS vector and is a genuine limiting factor in environments with strict index-level access controls; and (2) a separate victim user must authenticate to Kibana and navigate to a view that renders the injected field value - this maps to UI:R and means fully automated exploitation without victim interaction is not possible. The vulnerability is not limited to a specific non-default configuration: any Kibana instance that renders Elasticsearch field data in the browser without sufficient output encoding is susceptible. What limits exploitation in practice is the requirement for an authenticated write-capable Elasticsearch identity and the dependency on victim navigation. There is no requirement for administrative privilege, special plugin, or non-default feature flag - standard Kibana data visualization functionality is the affected surface.

Impact

The CVSS base score of 4.1 (Medium) is consistent with the constrained impact profile: C:N/I:L/A:N means no confidentiality breach and only low integrity impact, though the scope change (S:C) elevates real-world concern by confirming cross-user impact. AV:N/AC:L indicates the exploit is network-reachable with no special access conditions beyond authentication. PR:L confirms a low-privileged Elasticsearch write credential is the entry bar - not anonymous access. UI:R is a genuine limiting factor: a victim must navigate to and render the affected view for exploitation to complete, making mass automated exploitation unlikely. No EPSS score was provided in the source data, preventing quantitative exploitation probability assessment. No CISA KEV listing and no POC exist at time of analysis, suggesting this has not been observed in active threat campaigns. Real-world priority is moderate for multi-tenant or shared Kibana deployments where untrusted low-privilege users can write to indices surfaced in dashboards - in tightly controlled environments where index write access is restricted to trusted operators, practical risk is substantially lower.

Exploit ScenarioDerived

An attacker with a low-privilege Elasticsearch account (e.g., a shared reporting user or a compromised service credential) writes a crafted field value containing malicious HTML - such as an image tag with an onerror handler pointing to an attacker-controlled host - into an index that is visualized in a Kibana dashboard. When an administrative or analyst user opens that dashboard, their browser renders the unsanitized value, triggering the injected markup and issuing an outbound request to the attacker's server, potentially carrying session context or enabling further UI redress. No public POC exists at time of analysis, but the attack mechanic is well-understood for stored XSS classes.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 28, 2026

Stored HTML injection in Kibana allows a low-privileged authenticated user with write access to an Elasticsearch index to persist crafted markup that is insufficiently sanitized when rendered in an affected Kibana view. When a second user opens the compromised view, their browser processes the unsanitized content, enabling unauthorized manipulation of the Kibana UI and issuing outbound network requests from the victim's browser session. No public exploit identified at time of analysis, no CISA KEV listing, and EPSS data was not provided in source intelligence.

RemediationAI

Upgrade Kibana to the fixed versions referenced in Elastic Security Advisory ESA-2026-34, available at https://discuss.elastic.co/t/kibana-8-19-16-9-3-5-security-update-esa-2026-34/386552. Based on the advisory URL pattern, fix versions are 8.19.1 (for the 8.x line) and 6.9.3.5 (for the 6.9.x line); these should be verified against the advisory content directly as they are inferred from URL structure and not independently confirmed from advisory body text. If immediate upgrade is not feasible, a targeted compensating control is to audit and restrict Elasticsearch index write permissions - removing write access from any user account that does not require it directly reduces the attacker's ability to stage the malicious payload. Additionally, deploying a Content Security Policy (CSP) header that restricts script sources and outbound connections can limit the practical impact of any injected markup that does reach the browser. Note that CSP hardening may break legitimate Kibana plugin functionality and should be tested in a non-production environment first.

Affected VersionsENISA

Kibana 8.0.0 ≤8.19.15
Kibana 9.0.0 ≤9.3.4

Affected Packages

euvd kibana no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a stored (persistent) CWE-79 cross-site scripting variant, distinct from reflected XSS in that the malicious payload persists server-side. The attack surface is Kibana's data visualization layer: Kibana reads field values from Elasticsearch indices and renders them in browser-facing views. When Kibana fails to adequately sanitize those field values before inserting them into the DOM, attacker-controlled markup can execute in the viewing user's browser context. The CVSS scope change (S:C) confirms that the vulnerable component (Kibana's rendering layer) impacts a security context beyond the attacker's own - specifically, the victim user's browser session. Affected products per CPE cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:* encompass the full Kibana product line from Elastic across all versions in the wildcard range. CWE-79 at its root reflects a failure to apply output encoding or a content security policy sufficient to neutralize HTML/script injection from untrusted data sources.

Know when Kibana gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
CVSS changed
Oct 14, 2026 - 20:23 NVD
4.1 (MEDIUM) 5.4 (MEDIUM)

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Kibana

View all
CVE-2019-7609 CRITICAL POC
10.0 Mar 25

Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execution flaw in the Timelion visualizer. Rated criti

CVE-2020-7012 HIGH POC
8.8 Jun 03

Kibana versions 6.7.0 to 6.8.8 and 7.0.0 to 7.6.2 contain a prototype pollution flaw in the Upgrade Assistant. Rated hig

CVE-2018-17246 CRITICAL POC
9.8 Dec 20

Kibana versions before 6.4.3 and 5.6.13 contain an arbitrary file inclusion flaw in the Console plugin. Rated critical s

CVE-2025-25015 CRITICAL
9.9 Mar 05

Prototype pollution in Kibana leads to arbitrary code execution via a crafted file upload and specifically crafted HTTP

CVE-2018-17245 CRITICAL
9.8 Dec 20

Kibana versions 4.0 to 4.6, 5.0 to 5.6.12, and 6.0 to 6.4.2 contain an error in the way authorization credentials are us

CVE-2025-25014 CRITICAL
9.1 May 06

A Prototype pollution vulnerability in Kibana leads to arbitrary code execution via crafted HTTP requests to machine lea

CVE-2019-7610 CRITICAL
9.0 Mar 25

Kibana versions before 6.6.1 contain an arbitrary code execution flaw in the security audit logger. Rated critical sever

CVE-2024-12556 HIGH
8.7 Apr 08

Prototype Pollution in Kibana can lead to code injection via unrestricted file upload combined with path traversal. Rate

CVE-2026-102406 HIGH
8.8 Oct 06

Authorization bypass in Kibana's Fleet package installation process lets an authenticated user who holds delegated Fleet

CVE-2026-72681 HIGH
8.8 Aug 13

Privilege escalation in Elastic Kibana's Agent Builder component (versions 9.4.0-9.4.3) allows authenticated low-privile

CVE-2024-37288 HIGH
8.8 Sep 09

A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document con

CVE-2023-31415 HIGH
8.8 May 04

Kibana version 8.7.0 contains an arbitrary code execution flaw. Rated high severity (CVSS 8.8), this vulnerability is re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy