CVE-2020-25864
MEDIUM 6.1CVSS 3.1HashiCorp 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.
- Published
- 20 Apr 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-consul-2020-25864GHSA-8xmx-h8rq-h94jGO-2023-1851
- Sources
- NVDJSONOSV GHSA-8xmx-h8rq-h94jJSONOSV GO-2023-1851JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
< 1.7.14 | 1.7.14 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
< 1.7.14 | 1.7.14 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.8.0, < 1.8.10 | 1.8.10 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.8.0, < 1.8.10 | 1.8.10 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.9.0, < 1.9.5 | 1.9.5 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.9.0, < 1.9.5 | 1.9.5 |
| OSV | Go | github.com/hashicorp/consul | >= 1.9.0, < 1.9.5 | 1.9.5 |
| OSV | Go | github.com/hashicorp/consul | >= 1.8.0, < 1.8.10 | 1.8.10 |
| OSV | Go | github.com/hashicorp/consul | < 1.7.14 | 1.7.14 |
| OSV | Go | github.com/hashicorp/consul | < 1.7.14; >= 1.8.0, < 1.8.10; >= 1.9.0, < 1.9.5 | 1.7.14, 1.8.10, 1.9.5 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368 · Vendor Advisory, WEB
- https://security.gentoo.org/glsa/202208-09 · Third Party Advisory, WEB
- https://www.hashicorp.com/blog/category/consul · Product, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-25864 · ADVISORY
- https://github.com/hashicorp/consul · PACKAGE
- https://github.com/advisories/GHSA-8xmx-h8rq-h94j · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 20 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)