CVE-2018-17572: InfluxDB Reflected Cross-site Scripting
Summary
CVE-2018-17572: InfluxDB Reflected Cross-site Scripting. Affects github.com/influxdata/influxdb versions < 0.9.6. Fixed in 0.9.6. How to fix ↓
Also tracked for
- influxdb · Debian:11
The same CVE-2018-17572 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
InfluxDB is an open-source time series database written in Go. It is designed to handle high write and query loads and provides a SQL-like query language for interacting with the data. InfluxDB 0.9.5 is a specific version of InfluxDB that is vulnerable to a reflected cross-site scripting (XSS) attack in the admin panel via the Write Data module.
Vulnerability Detail
The vulnerability in InfluxDB 0.9.5 allows an attacker to inject malicious scripts into the admin panel, which can then be executed by unsuspecting users who access the affected page. This can lead to various security risks, such as unauthorized access to sensitive information, session hijacking, or the execution of arbitrary code in the context of the user's browser. The vulnerability has a CVSS score of 4.8, indicating a moderate severity level.
How To Fix
Latest published version: v1.13.1 as of 22 Oct 2026
go get github.com/influxdata/influxdb@v1.13.1
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
0.9.6
This is the first release that contains the fix.
go get github.com/influxdata/influxdb@v0.9.6
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended approach is to upgrade to the fixed version of InfluxDB.
Conclusion
InfluxDB 0.9.5 is vulnerable to a reflected cross-site scripting (XSS) attack in the admin panel. Upgrading to InfluxDB version 0.9.6 or later is recommended to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for github.com/influxdata/influxdb →
FAQ
InfluxDB is an open-source time series database written in Go. It is designed for handling high write and query loads and provides a SQL-like query language for interacting with the data.
A reflected XSS attack occurs when an attacker injects malicious scripts into a website or web application, which are then executed by unsuspecting users who visit the affected page. This can lead to various security risks, such as unauthorized access to sensitive information or the execution of arbitrary code in the user's browser.
The vulnerability in InfluxDB 0.9.5 can allow an attacker to execute arbitrary scripts in the admin panel, potentially leading to unauthorized access to sensitive information, session hijacking, or the execution of arbitrary code in the user's browser.
To fix this vulnerability, it is recommended to upgrade to InfluxDB version 0.9.6 or later, as it includes a patch that addresses the XSS vulnerability in the admin panel.
There is no specific workaround mentioned for this vulnerability. The recommended approach is to upgrade to the fixed version of InfluxDB.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/influxdata/influxdb.