Elastic Kibana
CVE-2025-25018
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Kibana user
-
DeliveryInject script into stored field/saved object
-
ExploitAdmin views poisoned content
-
ExecutionScript executes in admin session
-
ImpactSteal session/perform privileged actions
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 | Requires an authenticated Kibana account with privileges to write persistent/stored content (saved objects, dashboards, or similar fields that Kibana later renders), consistent with PR:L. The stored payload only executes when a second user - typically a higher-privileged operator - views the affected page, matching UI:R; it is not a self-triggering or fully unauthenticated flaw. Limiting factors: attacker must already have valid authenticated access to inject the payload, a victim must actively view the malicious content, and impact is confined to low confidentiality/integrity in the victim's browser context (no availability impact). Affected versions are Kibana releases prior to the 8.18.8 / 8.19.5 / 9.0.8 / 9.1.5 fixes per Elastic advisory ESA-2025-17. |
| Impact | This is a moderate-severity stored XSS (CVSS 5.4) that is NOT a top-tier priority but should be patched in routine cycles. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) tells a coherent story: network-reachable, low complexity, but requiring authenticated privileges (PR:L) to plant the payload AND victim interaction (UI:R) to fire it, with only low confidentiality and integrity impact and no availability impact. The scope change (S:C) reflects that injected script executes in another user's browser/session context - the one genuinely aggravating factor. Exploitation signals are weak-to-absent: EPSS is 0.23% (13th percentile), there is no CISA KEV listing, and no public exploit was identified in the provided data. All signals are consistent here - low EPSS, no KEV, no POC, and a modest CVSS all point to a real-but-low-urgency issue rather than a widespread-exploitation emergency. The main caveat is that stored XSS in a widely deployed admin/analytics console (Kibana) can be leveraged for privilege escalation or session theft against higher-privileged operators, so impact in a specific environment may exceed the base CVSS. |
| Exploit ScenarioDerived | A low-privileged but authenticated Kibana user injects a malicious script into a field that Kibana stores and later renders without proper neutralization (e.g., a dashboard, saved object, or annotation). When a higher-privileged operator subsequently views that content, the script executes in their authenticated session, enabling session/token theft or actions on their behalf. No public exploit code was identified at time of analysis, and successful exploitation depends on the victim viewing the attacker-controlled content. |
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 lets an authenticated user who can create or modify persistent content, such as saved objects, dashboards, or similar rendered fields, inject a payload that later executes in the browser of any other user viewing that content. Exploitation requires a valid low-privileged Kibana account plus a second victim (often a higher-privileged operator) actively opening the affected page, and impact is limited to low confidentiality and integrity within the victim's browser session. There is no confirmed active exploitation (not in CISA KEV) and no public exploit identified at time of analysis; EPSS is low at 0.23% (13th percentile), so this is a routine-patching-priority moderate-severity issue rather than an emergency.
RemediationAI
Vendor-released patch: upgrade Kibana to 8.18.8, 8.19.5, 9.0.8, or 9.1.5 (matching your current release line) as documented in Elastic advisory ESA-2025-17. Because exploitation requires an authenticated account able to write persistent content plus a victim viewing it, the most effective compensating control where immediate patching is not possible is to tightly restrict who holds saved-object, dashboard, and visualization creation/editing privileges through Kibana spaces and role-based access control, understanding that this limits dashboard authoring for those users. Administrators can temporarily reduce the attack surface by restricting exposure of the Kibana UI to trusted networks or placing it behind an authenticating reverse proxy, at the cost of external accessibility. Deploying a Content-Security-Policy that blocks inline and third-party script execution provides defense in depth but may break certain custom visualizations or embedded content. Given no confirmed active exploitation and a low EPSS score, these measures can be applied on a routine patch cycle rather than as an emergency, but the upgrade should still be scheduled promptly for any internet-exposed or multi-tenant Kibana instance.
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 flaw is a CWE-79 improper neutralization of input during web page generation, specifically the stored (persistent) variant of cross-site scripting. Kibana renders user-supplied content across dashboards, saved objects, and related UI surfaces, and the underlying issue is that input written into these persistent fields is not sufficiently encoded before being emitted into HTML, so script content survives storage and executes on later page views. The CVSS:3.1 vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N confirms the attack is network-reachable with low complexity, but requires a low-privileged authenticated account (PR:L) and user interaction from the victim (UI:R) who must view the poisoned content. Scope is marked Changed (S:C), reflecting that the script executes in the browsing context of another user rather than the attacker, while confidentiality and integrity impacts are Low and availability impact is None. Elastic rates this at 5.4, consistent with a moderate-severity, stored-XSS-against-authenticated-users issue rather than full session takeover or remote code execution.
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
Authenticated write access needed to store the payload (PR:L), victim must render it (UI:R), script runs in another user's context (S:C), yielding low C/I and no A.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
Improper Neutralization of Input During Web Page Generation in Kibana can lead to stored Cross-Site Scripting (XSS)
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.
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