{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-25864","published":"2021-04-20T16:15:10.193000Z","last_modified":"2026-06-17T03:07:24.717000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","part":"a","vendor":"hashicorp","product":"consul","version_end_excluding":"1.7.14"},{"criteria":"cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*","part":"a","vendor":"hashicorp","product":"consul","version_end_excluding":"1.7.14"},{"criteria":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","part":"a","vendor":"hashicorp","product":"consul","version_start_including":"1.8.0","version_end_excluding":"1.8.10"},{"criteria":"cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*","part":"a","vendor":"hashicorp","product":"consul","version_start_including":"1.8.0","version_end_excluding":"1.8.10"},{"criteria":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","part":"a","vendor":"hashicorp","product":"consul","version_start_including":"1.9.0","version_end_excluding":"1.9.5"},{"criteria":"cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*","part":"a","vendor":"hashicorp","product":"consul","version_start_including":"1.9.0","version_end_excluding":"1.9.5"}],"cpes_truncated":false,"vendors":["hashicorp"],"products":["hashicorp/consul"],"epss":{"score":0.06068,"percentile":0.94174,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8xmx-h8rq-h94j","ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"introduced":"1.9.0","fixed":"1.9.5"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-8xmx-h8rq-h94j","ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"introduced":"1.8.0","fixed":"1.8.10"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-8xmx-h8rq-h94j","ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"introduced":"0","fixed":"1.7.14"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2023-1851","ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[{"introduced":"0","fixed":"1.7.14"},{"introduced":"1.8.0","fixed":"1.8.10"},{"introduced":"1.9.0","fixed":"1.9.5"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2020-25864/","html_en":"/en/cve/CVE-2020-25864/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-25864","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-25864"},"untrusted":{"vendor_name":"Hashicorp","product_name":"Consul","desc_en":"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.","affected":[],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202208-09","tags":["Third Party Advisory"]},{"url":"https://www.hashicorp.com/blog/category/consul","tags":["Product","Vendor Advisory"]}]}}