Reflected Cross site scripting (XSS) in kairosdb
Date: 2022-11
Affected: maven/org.kairosdb:kairosdb
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2019-19040
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):