Grafana 5.3.1 has XSS via the "Dashboard > Text Panel" screen. NOTE: this issue exists because of an incomplete fix for CVE-2018-12099. https://github.com/grafana/grafana/pull/11813 https://security.netapp.com/advisory/ntap-20200608-0008/
Created grafana tracking bugs for this issue: Affects: fedora-all [bug 1850570]
Upstream commit: https://github.com/grafana/grafana/pull/14984/commits/15d560a1c01f5bfb354f83183886881554026bb8 Looks like that is the patch given the comment: https://github.com/grafana/grafana/pull/11813#issuecomment-458045266 The patch got included in the major release of v6.0.0 as well.
OpenShift 3.11 grafana-container packages a vulnerable version of grafana 5.4.3, the instance is set to read-only. Meaning the XSS attack cannot be performed as the text panel cannot be modified, or added. As the version still packages the vulnerable code, setting to affected with Low impact. Both OpenShift 4.x and ServiceMesh both package grafana versions greater than 6.0.0 and are not affected.
In reply to comment #4: > Both OpenShift 4.x and ServiceMesh both package grafana versions greater > than 6.0.0 and are not affected. Same applies for RHEL-8 -> not affected.
upstream PR: https://github.com/grafana/grafana/pull/14984
Statement: While OpenShift 3.11 grafana-container packages a vulnerable version of grafana, the dashboard is set to read-only meaning that the vulnerable component cannot be added or modified to contain the potential XSS. As the OpenShift version still packages vulnerable code, the impact is set Low.
External References: https://security.netapp.com/advisory/ntap-20200608-0008/