# CVE-2020-25864

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-20 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-25864, DEBIAN-CVE-2020-25864, CGA-2f8f-jfwr-57hr, CGA-7rpp-q6v8-96mp, CGA-8qf8-584v-q664, CGA-cj47-2hh8-x74p, CGA-q834-5chf-2cvw, CGA-vcp2-hqjr-rg9c, GHSA-8xmx-h8rq-h94j, BIT-consul-2020-25864, GO-2023-1851, ALPINE-CVE-2020-25864
- Record: https://cvemate.com/vulnerability/CVE-2020-25864 · JSON: https://cvemate.com/vulnerability/CVE-2020-25864/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 6.068%, percentile 93.582%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine consul (Alpine Linux): ≥ 1.8.0, \< 1.9.5-r0 \| ≥ 1.9.0, \< 1.9.5-r0
- chainguard k3d (Chainguard): \< 5.6.0-r11
- chainguard k3d-proxy (Chainguard): \< 5.6.0-r11
- chainguard k3d-tools (Chainguard): \< 5.6.0-r11
- wolfi k3d (Wolfi): \< 5.6.0-r11
- wolfi k3d-proxy (Wolfi): \< 5.6.0-r11
- wolfi k3d-tools (Wolfi): \< 5.6.0-r11
- debian consul (Debian): \< 1.8.7+dfsg1-2
- ubuntu consul (Ubuntu): All versions (No fix recorded)
- github.com/hashicorp consul (Go): ≥ 1.8.0, \< 1.8.10 \| \< 1.7.14 \| ≥ 1.9.0, \< 1.9.5
- hashicorp consul: \< 1.7.14 \| ≥ 1.8.0, \< 1.8.10 \| ≥ 1.9.0, \< 1.9.5

## References

- <https://www.hashicorp.com/blog/category/consul>
- <https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368>
- <https://security.gentoo.org/glsa/202208-09>
- <https://ubuntu.com/security/CVE-2020-25864>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1950275>
- <https://github.com/hashicorp/consul/pull/10023>
- <https://www.cve.org/CVERecord?id=CVE-2020-25864>
- <https://security-tracker.debian.org/tracker/CVE-2020-25864>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25864>
- <https://github.com/hashicorp/consul>
- <https://github.com/advisories/GHSA-8xmx-h8rq-h94j>
- <https://security.alpinelinux.org/vuln/CVE-2020-25864>

---

Data as of 2026-12-05T13:42:13.290Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
