CVE-2025-68385
Kibana vulnerability analysis and mitigation

Overview

CVE-2025-68385 is a stored/reflected Cross-Site Scripting (XSS) vulnerability in Elastic Kibana affecting its Vega visualization integration. An authenticated user can embed malicious scripts in content served to web browsers by exploiting a method in Vega that bypasses a previously implemented XSS mitigation. The vulnerability was disclosed on December 18, 2025, and affects Kibana versions 7.0.0–7.17.29, 8.0.0–8.19.8, 9.0.0–9.1.8, and 9.2.0–9.2.2. It carries a CVSS v3.1 base score of 6.1 (Medium) (Red Hat Advisory, Elastic Advisory).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically within Kibana's Vega visualization component. An authenticated attacker can craft a Vega specification or chart definition that invokes a particular Vega method, injecting malicious JavaScript that circumvents an existing XSS sanitization/mitigation layer. The attack vector is network-based, requires low attack complexity, and necessitates user interaction (a victim browsing to the malicious content), with the scope changed to affect other users' browser sessions. The vulnerability is classified under CAPEC-63 (Cross-Site Scripting) (Red Hat Bugzilla, Elastic Advisory).

Impact

Successful exploitation allows an attacker to inject and execute arbitrary JavaScript in the browsers of other Kibana users who view the malicious visualization. This can lead to session hijacking, credential theft, unauthorized actions performed on behalf of victims, and exfiltration of sensitive data accessible within the Kibana interface. The changed scope means the impact extends beyond the attacker's own session to affect other authenticated users, including potentially privileged administrators (Red Hat Advisory, Elastic Advisory).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no confirmed evidence of in-the-wild exploitation (Red Hat Advisory). The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. No threat actor attribution has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated attacker with access to create or modify Vega visualizations in Kibana.

Exploitation steps

  1. Authenticate to Kibana: Obtain valid credentials for a Kibana account with permissions to create or edit Vega visualizations (e.g., a standard analyst or dashboard editor role).
  2. Create or edit a Vega visualization: Navigate to the Kibana Visualize or Dashboard section and create a new Vega or Vega-Lite visualization.
  3. Craft a malicious Vega specification: Insert a Vega specification that leverages the specific Vega method identified as bypassing the existing XSS sanitization, embedding a JavaScript payload (e.g., <script> injection or event handler) within the chart definition.
  4. Save and share the visualization: Save the malicious visualization to a dashboard or shared space accessible to other Kibana users.
  5. Victim triggers execution: When another user (e.g., an administrator) views the dashboard or visualization, the injected script executes in their browser context, enabling session token theft, credential harvesting, or unauthorized API calls on their behalf (Red Hat Bugzilla, Elastic Advisory).

Indicators of compromise

  • Logs: Kibana audit logs showing creation or modification of Vega visualizations by unexpected or low-privileged users; unusual dashboard save events shortly before victim complaints of session issues.
  • Network: Outbound HTTP requests from victim browsers to attacker-controlled domains originating from Kibana dashboard pages; unexpected POST requests to external endpoints from browser sessions viewing Kibana.
  • File System: No direct file system artifacts expected for a browser-side XSS; however, review Kibana saved objects store for Vega specifications containing suspicious JavaScript patterns (e.g., eval, fetch, XMLHttpRequest, document.cookie, <script> tags, or on* event handlers).
  • Process/Session: Unexpected Kibana API calls (e.g., user management, data export) performed under legitimate user accounts at unusual times, potentially indicating session hijacking post-exploitation.

Mitigation and workarounds

Elastic has released patched versions addressing this vulnerability: Kibana 8.19.9, 9.1.9, and 9.2.3. Users running versions 7.x through the affected 8.x and 9.x ranges should upgrade to the appropriate fixed release immediately (Elastic Advisory). As interim mitigations, administrators should restrict Vega visualization creation permissions to trusted users only, implement a strict Content Security Policy (CSP), and monitor for suspicious visualization content. Additional input validation and output encoding controls should be verified as part of defense-in-depth.

Community reactions

Security news outlets including GBHackers and SecurityOnline.info covered the vulnerability, with SecurityOnline describing it as "visualizations weaponized" via Vega charts (SecurityOnline, GBHackers). A blog post on cryptobivash.code.blog characterized the issue as a "0-day" that "bypasses XSS defenses via weaponized Vega charts," though this framing is somewhat sensationalized given that a patch was simultaneously released (Cryptobivash Blog). Elastic's official advisory was straightforward, noting the bypass of a prior Vega XSS mitigation and providing fixed version numbers without additional commentary.

Additional resources


SourceThis report was generated using AI

Related Kibana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-72677HIGH7.3
  • Kibana logoKibana
  • kibana-9.3
NoYesAug 13, 2026
CVE-2026-72675HIGH7.1
  • Kibana logoKibana
  • cpe:2.3:a:elastic:kibana
NoYesAug 13, 2026
CVE-2026-72681MEDIUM6.5
  • Kibana logoKibana
  • kibana-9.4
NoYesAug 13, 2026
CVE-2026-72680MEDIUM6.5
  • Kibana logoKibana
  • cpe:2.3:a:elastic:kibana
NoYesAug 13, 2026
CVE-2026-72674MEDIUM6.5
  • Kibana logoKibana
  • kibana-9.3
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management