Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-68387: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Elastic Kibana

0
Medium
VulnerabilityCVE-2025-68387cvecve-2025-68387cwe-79
Published: Thu Dec 18 2025 (12/18/2025, 22:11:39 UTC)
Source: CVE Database V5
Vendor/Project: Elastic
Product: Kibana

Description

Improper neutralization of input during web page generation ('Cross-site Scripting') (CWE-79) allows an unauthenticated user to embed a malicious script in content that will be served to web browsers causing cross-site scripting (XSS) (CAPEC-63) via a vulnerability a function handler in the Vega AST evaluator.

AI-Powered Analysis

AILast updated: 12/18/2025, 22:42:07 UTC

Technical Analysis

CVE-2025-68387 is a Cross-site Scripting (XSS) vulnerability classified under CWE-79 that affects Elastic Kibana versions 7.0.0, 8.0.0, 9.0.0, and 9.2.0. The vulnerability stems from improper neutralization of input during web page generation, specifically within a function handler in the Vega Abstract Syntax Tree (AST) evaluator. This flaw allows an unauthenticated attacker to embed malicious JavaScript code into Kibana’s web interface content. When a user interacts with the compromised content, the malicious script executes in their browser context, potentially stealing session tokens, manipulating displayed data, or performing actions on behalf of the user. The vulnerability has a CVSS 3.1 base score of 6.1, indicating medium severity, with an attack vector of network (remote), no privileges required, but user interaction is necessary. The scope is changed, meaning the vulnerability can affect components beyond the vulnerable module. Confidentiality and integrity impacts are low, while availability is not affected. No patches or known exploits are currently reported, but the vulnerability is publicly disclosed and should be addressed promptly. The Vega AST evaluator is a component used for rendering complex visualizations in Kibana, making this vulnerability relevant to organizations relying on Kibana dashboards for monitoring and analytics.

Potential Impact

For European organizations, the impact of CVE-2025-68387 can be significant in environments where Kibana is used to visualize sensitive operational or security data. Successful exploitation could lead to theft of user credentials or session cookies, enabling attackers to impersonate legitimate users and access restricted data or functionality. This can undermine data integrity by allowing attackers to manipulate displayed information or inject misleading content. While availability is not directly impacted, the loss of trust in data accuracy and potential unauthorized access could disrupt decision-making processes. Organizations in sectors such as finance, energy, telecommunications, and government that rely heavily on Kibana dashboards for real-time monitoring and incident response are particularly at risk. The vulnerability’s requirement for user interaction means phishing or social engineering could be used to trigger exploitation. Given the widespread use of Elastic Stack in Europe, this vulnerability poses a moderate threat to confidentiality and integrity of critical monitoring systems.

Mitigation Recommendations

1. Monitor Elastic’s official channels for patches addressing CVE-2025-68387 and apply updates promptly once available. 2. Until patches are released, restrict access to Kibana interfaces to trusted internal networks and authenticated users only, minimizing exposure to unauthenticated attackers. 3. Implement strict Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in Kibana web pages. 4. Conduct thorough input validation and sanitization on any user-supplied data that could be rendered in Kibana dashboards, especially those using Vega visualizations. 5. Educate users about the risks of interacting with suspicious links or content within Kibana dashboards to reduce the likelihood of triggering XSS payloads. 6. Employ web application firewalls (WAFs) with rules targeting common XSS attack patterns to detect and block malicious requests. 7. Regularly audit Kibana usage logs for unusual activity or access patterns that may indicate exploitation attempts. 8. Consider isolating Kibana instances or using reverse proxies to add additional security layers and monitoring capabilities.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
elastic
Date Reserved
2025-12-16T19:18:49.563Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69447f924eb3efac36af9a5c

Added to database: 12/18/2025, 10:26:26 PM

Last enriched: 12/18/2025, 10:42:07 PM

Last updated: 12/19/2025, 6:41:25 AM

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats