Medium severity · published Apr 20, 2021
CVE-2020-25864
HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting
6.1
CVSS
6.1%
EPSS
No
On KEV
Description
HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)6.1% · higher than 93% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Consul · Hashicorp
before 1.7.14; before 1.7.14; 1.8.0 before 1.8.10; 1.8.0 before 1.8.10; 1.9.0 before 1.9.5; 1.9.0 before 1.9.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-25864
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-25864
Vendor Advisory
https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368
Third Party Advisory
https://security.gentoo.org/glsa/202208-09
Product
https://www.hashicorp.com/blog/category/consul
More from Consul
8.8
CVE-2026-105608
Consul vulnerable to an authorization bypass in service mesh registration
8.8
CVE-2021-41805
HashiCorp Consul Enterprise before 1.8.17, 1.9.x before 1.9.11, and 1.10.x before 1.10.4 has Incorrect Access Control
8.8
CVE-2021-37219
HashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling…
8.6
CVE-2021-3121
An issue was discovered in GoGo Protobuf before 1.3.2
8.3
CVE-2026-87090
Consul vulnerable to an authorization bypass in the catalog node-write path
