CVE-2020-25864
HashiCorp Consul Cross-site Scripting vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2020-25864- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-25864- Updated
- 2026-11-02
EUVDEUVD-2022-3260 No score
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.
- Record
EUVD-2022-3260- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8xmx-h8rq-h94j
6.1
HashiCorp Consul Cross-site Scripting vulnerability
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.
- Record
GHSA-8xmx-h8rq-h94j- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-25864
6.1
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.
- Record
ALPINE-CVE-2020-25864- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
OSV
6.1
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.
- Record
CVE-2020-25864- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2020-25864
6.1
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.
- Record
DEBIAN-CVE-2020-25864- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-8xmx-h8rq-h94j
6.1
HashiCorp Consul Cross-site Scripting vulnerability
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.
- Record
GHSA-8xmx-h8rq-h94j- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-25864
6.1
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.
- Record
UBUNTU-CVE-2020-25864- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVBIT-consul-2020-25864 No score
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.
- Record
BIT-consul-2020-25864- Updated
- 2026-11-02
OSVGO-2023-1851 No score
HashiCorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul
HashiCorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul
- Record
GO-2023-1851- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/hashicorp/consulGo |
1.9.0 up to 1.9.5 | 1.9.5 |
github.com/hashicorp/consulGo |
1.8.0 up to 1.8.10 | 1.8.10 |
github.com/hashicorp/consulGo |
before 1.7.14 | 1.7.14 |
consulAlpine:v3.13 |
1.8.0 up to 1.9.5-r0 | 1.9.5-r0 |
consulAlpine:v3.14 |
1.8.0 up to 1.9.5-r0 | 1.9.5-r0 |
consulAlpine:v3.15 |
1.8.0 up to 1.9.5-r0 | 1.9.5-r0 |
consulAlpine:v3.16 |
1.8.0 up to 1.9.5-r0 | 1.9.5-r0 |
consulAlpine:v3.17 |
1.8.0 up to 1.9.5-r0 | 1.9.5-r0 |
consulAlpine:v3.18 |
1.8.0 up to 1.9.5-r0 | 1.9.5-r0 |
consulBitnami |
before 1.7.14, 1.8.0 up to 1.8.10, 1.9.0 up to 1.9.5 | 1.7.141.8.101.9.5 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
consulDebian:11 |
before 1.8.7+dfsg1-2 | 1.8.7+dfsg1-2 |
github.com/hashicorp/consulGo |
before 1.7.14, 1.8.0 up to 1.8.10, 1.9.0 up to 1.9.5 | 1.7.141.8.101.9.5 |
consulUbuntu:18.04:LTS |
All versions, plus listed versions 0.6.4~dfsg-3 |
None known |
consulUbuntu:20.04:LTS |
All versions, plus listed versions 1.0.7~dfsg1-5ubuntu11.4.4~dfsg1-2ubuntu21.5.2+dfsg1-61.5.2+dfsg1-101.5.2+dfsg1-121.5.2+dfsg2-14 |
None known |
consulUbuntu:22.04:LTS |
All versions, plus listed versions 1.7.4+dfsg1-11.8.7+dfsg1-3 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Nuclei | HashiCorp Consul/Consul Enterprise <=1.9.4 - Cross-Site Scripting |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, Nuclei, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-25864 is a medium vulnerability (CVSS 6.1) in Hashicorp Consul, published April 20, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.07%, the 93rd percentile. Fixed in github.com/hashicorp/consul 1.9.5.