Skip to main content

Elastic Kibana CVE-2025-25018

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-10 security@elastic.co
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged Kibana user
  2. Delivery
    Inject script into stored field/saved object
  3. Exploit
    Admin views poisoned content
  4. Execution
    Script executes in admin session
  5. Impact
    Steal 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.

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

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

Alert me

AnalysisAIv1 – 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

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

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Red Hat 8.7 HIGH

Primary rating from NVD.

CVSS VectorNVD

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

DescriptionNVD

Improper Neutralization of Input During Web Page Generation in Kibana can lead to stored Cross-Site Scripting (XSS)

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
High
Kibana is a widely deployed enterprise analytics/observability front-end for Elasticsearch
Data Quality
3 sources
Confidence: Low

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.2%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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.

Affected Products (CPE)NVD

cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*
cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*

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

Vendor StatusVendor

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