{"id":"CVE-2020-25864","aliases":["BIT-consul-2020-25864","GHSA-8xmx-h8rq-h94j","GO-2023-1851"],"url":"https://o3.security/vulnerability/CVE-2020-25864","summary":"HashiCorp Consul Cross-site Scripting vulnerability","details":"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":"2021-04-20T16:15:10.193Z","modified":"2026-07-08T16:28:24.174812Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/hashicorp/consul","fixedVersion":"1.9.5"},{"ecosystem":"Go","name":"github.com/hashicorp/consul","fixedVersion":"1.8.10"},{"ecosystem":"Go","name":"github.com/hashicorp/consul","fixedVersion":"1.7.14"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-09"},{"type":"ADVISORY","url":"https://www.hashicorp.com/blog/category/consul"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T16:28:24.174812Z"}}