{"id":"GHSA-8xmx-h8rq-h94j","revision":"0d470a1f4b6d49679f0b13eb1f9d5691","records":[{"revision":"0d470a1f4b6d49679f0b13eb1f9d5691","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8xmx-h8rq-h94j","aliases":["BIT-consul-2020-25864","CVE-2020-25864","GO-2023-1851"],"title":"HashiCorp Consul Cross-site Scripting vulnerability","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.","state":0,"publishedAt":"2022-05-24T17:48:04+00:00","modifiedAt":"2026-09-10T03:49:21.3485921+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.9.0"},{"kind":"fixed","version":"1.9.5"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.8.0"},{"kind":"fixed","version":"1.8.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/hashicorp/consul","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.7.14"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-25864","https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368","https://github.com/hashicorp/consul","https://security.gentoo.org/glsa/202208-09","https://www.hashicorp.com/blog/category/consul"],"sourceUrl":"https://github.com/advisories/GHSA-8xmx-h8rq-h94j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8xmx-h8rq-h94j","identifiers":["GHSA-8xmx-h8rq-h94j","BIT-consul-2020-25864","CVE-2020-25864","GO-2023-1851"]},"retained":false,"historicalAffected":[]}],"coverage":[]}