{"id":"CVE-2020-25864","published":"2021-04-20T13:07:21Z","modified":"2024-08-04T15:49:05Z","title":"HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site…","vendor":null,"product":null,"tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06068,"percentile":0.93559,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.hashicorp.com/blog/category/consul","tags":["x_refsource_MISC"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202208-09","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.71},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"nuclei":[{"id":"CVE-2020-25864","name":"HashiCorp Consul/Consul Enterprise <=1.9.4 - Cross-Site Scripting","severity":"medium","path":"http/cves/2020/CVE-2020-25864.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-25864.yaml"}],"provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/consul","vulnerableRanges":[">=1.9.0, <1.9.5",">=1.8.0, <1.8.10","<1.7.14"],"patched":["1.9.5","1.8.10","1.7.14"],"from":["GHSA-8xmx-h8rq-h94j","GO-2023-1851"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in the key-value (KV) raw mode of HashiCorp Consul and Consul Enterprise. An attacker can inject script that runs in a victim's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:10Z"},"euvd":{"id":"EUVD-2022-3260","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-13250","published":"2020-06-11","fixed":"1.7.4","kev":false},{"cve":"CVE-2020-25201","published":"2020-11-04","fixed":"1.8.5","kev":false},{"cve":"CVE-2020-28053","published":"2020-11-23","fixed":"1.8.6","kev":false,"link":{"from":"CVE-2020-28053","to":"CVE-2020-25864","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/consul","fromFixed":"1.8.6","toFixed":"1.8.10","daysApart":148}]}},{"cve":"CVE-2020-25864","published":"2021-04-20","fixed":"1.9.5","kev":false},{"cve":"CVE-2021-32574","published":"2021-07-17","fixed":"1.10.1","kev":false},{"cve":"CVE-2021-36213","published":"2021-07-17","fixed":"1.10.1","kev":false},{"cve":"CVE-2021-37219","published":"2021-09-07","fixed":"1.10.2","kev":false,"link":{"from":"CVE-2020-25864","to":"CVE-2021-37219","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/consul","fromFixed":"1.9.5","toFixed":"1.9.9","daysApart":140}]}},{"cve":"CVE-2021-38698","published":"2021-09-07","fixed":"1.10.2","kev":false,"link":{"from":"CVE-2020-25864","to":"CVE-2021-38698","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/consul","fromFixed":"1.9.5","toFixed":"1.9.9","daysApart":140}]}}],"package":"Go:github.com/hashicorp/consul"}}