Skip to main content

Elastic Kibana CVE-2025-25009

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-07 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
    Upload malicious file to a Case
  3. Exploit
    Store XSS payload in case attachment
  4. Execution
    Victim opens the affected case
  5. Impact
    Script 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).

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'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

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

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.

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:L/VI:L/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 XSS via case file upload.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
Kibana is a widely deployed enterprise analytics/SIEM frontend (Elastic Stack)
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.

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

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