CVE-2019-19040 Reflected Cross site scripting (XSS) in kairosdb
Cross-site scripting vulnerability in KairosDB allows attackers to execute arbitrary scripts via crafted query parameters in the view interface.
- 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-19040?
CVE-2019-19040 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Nov 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
KairosDB through 1.2.2 has XSS in view.html because of showErrorMessage in js/graph.js, as demonstrated by view.html?q= with a '"sampling":{"value":"<script>' substring.
Weakness: CWE-79
Which versions are affected by CVE-2019-19040?
2 open source packages ship an affected version, including org.kairosdb:kairosdb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.kairosdb:kairosdb Maven | All versions | 1.3.0 |
org.kairosdb:kairosdb Maven | All versions | 1.3.0 |
Products include Kairosdb Project Kairosdb.
How do I fix CVE-2019-19040?
Upgrade org.kairosdb:kairosdb to 1.3.0 or later.
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-19040 being exploited?
There is no known exploitation of CVE-2019-19040 in the wild and no public exploit code.
Sources
Also known as GHSA-fjhh-67wv-7gr4.