Elastic Kibana
CVE-2025-25009
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Kibana user
-
DeliveryUpload malicious file to a Case
-
ExploitStore XSS payload in case attachment
-
ExecutionVictim opens the affected case
-
ImpactScript executes in victim browser 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 an authenticated account with privileges to upload file attachments to the Kibana Cases feature (PR:L), and the stored payload only executes when a second user opens the affected case in their browser (UI:R) - so it depends on the Cases feature being in use and on victim interaction. Limiting factors: the attacker cannot act unauthenticated; impact is confined to the viewing user's browser session and their Kibana privilege level (C:L/I:L/A:N); and deployments not using Cases/case file uploads are not exposed. No special non-default server configuration is otherwise indicated beyond use of the Cases functionality. |
| Impact | This is a moderate-severity stored XSS (CVSS 5.4, CWE-79) that scores accurately rather than being inflated. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N shows the realistic constraints: PR:L means an authenticated Kibana user is required to plant the payload, and UI:R means a victim must subsequently view the malicious case file for the script to fire - so this is not a point-and-click remote takeover. The scope change (S:C) correctly reflects that injected script executes in a victim's browser context, distinct from the Kibana server component. Exploitation signals are consistently low-to-moderate: EPSS is 0.24% (14th percentile), there is no CISA KEV listing, and no public exploit code was identified in the provided data - so this is no public exploit identified at time of analysis. The low/low/none confidentiality-integrity-availability impacts limit blast radius to session-level actions (token/cookie theft, actions-as-victim, data disclosure within the victim's Kibana privileges) rather than full compromise. Net: a legitimate patch-management priority for Kibana operators because it is network-reachable and affects a widely deployed product, but not an emergency given the authentication requirement, required user interaction, absence of KEV/POC, and low EPSS. No signals conflict with one another here. |
| Exploit ScenarioDerived | An authenticated Kibana user with permission to create or modify Cases uploads a file crafted to carry a malicious script payload to a case. When an analyst, SOC operator, or administrator later opens that case, the stored script executes in their browser session, enabling actions such as session/token theft or performing requests with the victim's Kibana privileges. No public proof-of-concept was provided, and the attack requires both low-privilege authentication (PR:L) and victim interaction (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting in Elastic Kibana's Cases file-upload feature lets an authenticated user with case attachment privileges plant a crafted file whose payload executes as script in a different user's browser when that case is opened. Elastic scores it CVSS 5.4 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), meaning exploitation needs a valid low-privileged account plus victim interaction, and the impact is limited to the viewing user's browser session and Kibana privilege level. No public exploit identified at time of analysis, it is not in CISA KEV, EPSS is 0.24% (14th percentile), and vendor-released fixes exist in 8.18.8, 8.19.5, 9.0.8, and 9.1.5.
RemediationAI
Vendor-released patch: upgrade to Kibana 8.18.8, 8.19.5, 9.0.8, or 9.1.5 according to your release branch, as documented in Elastic security advisory ESA-2025-20 (https://discuss.elastic.co/t/kibana-8-18-8-8-19-5-9-0-8-and-9-1-5-security-update-esa-2025-20/382449). If an immediate upgrade is not feasible, restrict the privilege that permits attaching files to Kibana cases so that only trusted, vetted accounts can upload attachments - the trade-off is that legitimate case workflows relying on broad upload rights will be constrained. Organizations that do not use the Cases file-upload capability can disable or leave that functionality unused, which removes the attack path entirely, at the cost of losing attachment-based case collaboration. Because exploitation requires an authenticated uploader and a second user clicking into the affected case, additional compensating measures include monitoring case upload activity and alerting on unexpected attachment submissions or suspicious case links sent to staff; these detect rather than prevent exploitation, so they should be treated as temporary while patching proceeds.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant, in Kibana's Cases feature. Case file attachments are persisted server-side and later rendered back into the Kibana web UI without adequate output encoding or sanitization, so a file name, file metadata, or attachment content containing HTML/script survives storage and is re-emitted into a page viewed by a second user. The CVSS scope-change flag (S:C) reflects that the injected payload does not simply deface the vulnerable component but executes in the context of the victim's authenticated Kibana session, potentially reading data or performing actions available to that session, though the confidentiality and integrity impact are assessed as Low (C:L/I:L). The vector's PR:L confirms an authenticated account is required, and UI:R confirms a human victim must open the affected case. CPE data enumerates Elastic Kibana (cpe:2.3:a:elastic:kibana) across multiple version entries, consistent with a fix shipped across several concurrent maintenance branches rather than a single release line. No special non-default server configuration is indicated beyond active use of Cases and its file-upload capability; deployments that do not use Cases are not exposed to this path.
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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Network-reachable web UI (AV:N/AC:L); requires authenticated upload privilege (PR:L) and a victim viewing the case (UI:R); script escapes to the browser context (S:C) with limited C/I impact and no availability loss.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Improper Neutralization of Input During Web Page Generation in Kibana can lead to Stored XSS via case file upload.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)NVD
Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execution flaw in the Timelion visualizer. Rated criti
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
Kibana versions before 6.4.3 and 5.6.13 contain an arbitrary file inclusion flaw in the Console plugin. Rated critical s
Prototype pollution in Kibana leads to arbitrary code execution via a crafted file upload and specifically crafted HTTP
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
A Prototype pollution vulnerability in Kibana leads to arbitrary code execution via crafted HTTP requests to machine lea
Kibana versions before 6.6.1 contain an arbitrary code execution flaw in the security audit logger. Rated critical sever
Prototype Pollution in Kibana can lead to code injection via unrestricted file upload combined with path traversal. Rate
Authorization bypass in Kibana's Fleet package installation process lets an authenticated user who holds delegated Fleet
Privilege escalation in Elastic Kibana's Agent Builder component (versions 9.4.0-9.4.3) allows authenticated low-privile
A deserialization issue in Kibana can lead to arbitrary code execution when Kibana attempts to parse a YAML document con
Kibana version 8.7.0 contains an arbitrary code execution flaw. Rated high severity (CVSS 8.8), this vulnerability is re
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB