CVE-2025-25018 Kibana Stored Cross-Site Scripting (XSS)

High 8.7 Published Updated

Attackers can inject malicious scripts into Kibana, potentially executing code in victim browsers and compromising user accounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-25018?

CVE-2025-25018 is a high-severity cross-site scripting vulnerability in Elastic Kibana, published on 10 Oct 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-79

Which versions are affected by CVE-2025-25018?

2 open source packages ship an affected version, including kibana and elk. It affects 1 product.

PackageAffectedFixed in
kibana BitnamiAll versions8.18.8, 8.19.5, 9.0.8, 9.1.5
elk BitnamiAll versions8.18.8, 8.19.5, 9.0.8, 9.1.5

Products include Elastic Kibana.

How do I fix CVE-2025-25018?

Upgrade kibana to a fixed version for your release line: 8.18.8, 8.19.5, 9.0.8 or 9.1.5.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-25018 being exploited?

There is no known exploitation of CVE-2025-25018 in the wild and no public exploit code.

All Elastic Kibana vulnerabilities

Sources

Also known as BIT-elk-2025-25018, BIT-kibana-2025-25018, GHSA-23vx-2j4v-jvhm, MINI-522c-6h7m-f58g, MINI-7jxm-ccg6-h8cw, MINI-9q74-m4mp-99cc and 2 more.

Is CVE-2025-25018 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free