{"cve":"CVE-2020-25864","nvd":{"published":"2021-04-20T16:15:10.193","modified":"2026-06-17T03:07:24.717","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["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://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"],"products":["hashicorp:consul"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2020-25864","score":0.06068,"percentile":0.93391,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8xmx-h8rq-h94j","url":"https://osv.dev/vulnerability/GHSA-8xmx-h8rq-h94j","summary":"HashiCorp Consul Cross-site Scripting vulnerability","modified":"2026-09-10T03:49:21.348592089Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[">=1.9.0 <1.9.5"],"fixed":["1.9.5"]},{"ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":[">=1.8.0 <1.8.10"],"fixed":["1.8.10"]},{"ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":["<1.7.14"],"fixed":["1.7.14"]}]},{"id":"GO-2023-1851","url":"https://osv.dev/vulnerability/GO-2023-1851","summary":"HashiCorp Consul Cross-site Scripting vulnerability in github.com/hashicorp/consul","modified":"2026-02-04T03:19:43.866533Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/consul","purl":"pkg:golang/github.com/hashicorp/consul","ranges":["<1.7.14",">=1.8.0 <1.8.10",">=1.9.0 <1.9.5"],"fixed":["1.7.14","1.8.10","1.9.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}