CVE-2020-25864
Consul vulnerability analysis and mitigation

Overview

CVE-2020-25864 is a cross-site scripting (XSS) vulnerability discovered in HashiCorp Consul and Consul Enterprise's key-value (KV) raw mode. The vulnerability affects all versions up to 1.9.4 and was fixed in versions 1.9.5, 1.8.10, and 1.7.14. The issue was publicly disclosed on April 19, 2021 (HashiCorp Advisory).

Technical details

The vulnerability exists in Consul's key-value store API when called with the raw parameter. The KV API's raw mode, which serves KV-indexed objects without a JSON wrapper, was found to be susceptible to cross-site scripting attacks. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

When exploited, this vulnerability could allow an attacker to perform cross-site scripting attacks through specially crafted key-value entries when viewed in Consul KV API's raw mode. This could potentially lead to unauthorized access to sensitive information or manipulation of the service (HashiCorp Advisory).

Exploitability

The vulnerability requires user interaction and can be exploited remotely. It has been classified with low attack complexity, requiring no privileges for exploitation (NVD).

Mitigation and workarounds

Users are advised to upgrade to Consul versions 1.9.5, 1.8.10, 1.7.14, or newer to address this vulnerability. The fix was implemented across multiple version branches to ensure broader coverage (HashiCorp Advisory).

Additional resources


SourceThis report was generated using AI

Related Consul vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19017MEDIUM6.8
  • Grafana logoGrafana
  • grafana-cloudwatch
NoYesAug 07, 2026
CVE-2026-19113MEDIUM5.3
  • Consul logoConsul
  • consul-fips-2
NoYesAug 07, 2026
CVE-2026-19015MEDIUM5.3
  • Consul logoConsul
  • cpe:2.3:a:hashicorp:consul
NoYesAug 07, 2026
CVE-2026-19014MEDIUM4.3
  • Grafana logoGrafana
  • grafana
NoYesAug 07, 2026
CVE-2026-19016MEDIUM4.2
  • Grafana logoGrafana
  • grafana-loki
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management