CVE-2019-3826 Cross-site scripting in prometheus

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in a victim's browser by tricking an authenticated user into visiting a crafted URL on a Prometheus server.

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

What is CVE-2019-3826?

CVE-2019-3826 is a medium-severity cross-site scripting vulnerability in Redhat Openshift Container Platform, published on 26 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus before version 2.7.1. An attacker could exploit this by convincing an authenticated user to visit a crafted URL on a Prometheus server, allowing for the execution and persistent storage of arbitrary scripts.

Weakness: CWE-79

Which versions are affected by CVE-2019-3826?

It affects 2 products.

Products include Prometheus Prometheus, Redhat Openshift Container Platform.

How do I fix CVE-2019-3826?

Upgrade to a fixed version.

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-2019-3826 being exploited?

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

All Redhat Openshift Container Platform vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-3826, UBUNTU-CVE-2019-3826.

Is CVE-2019-3826 in your software?

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

Check your SBOMs for free