CVE-2024-10086: Hashicorp Consul Cross-site Scripting vulnerability
A vulnerability was identified in Consul and Consul Enterprise such that the server response did not explicitly set a Content-Type HTTP header, allowing user-provided inputs to be misinterpreted and lead to reflected XSS.
Published Oct 31, 2024 · Updated Jan 10, 2025
Affected packages
github.com/hashicorp/consul
- Ecosystem
- Go
- Affected
- >= 1.4.1, < 1.20.0
- Fixed in
- 1.20.0
- Check
go list -m github.com/hashicorp/consul
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was identified in Consul and Consul Enterprise such that the server response did not explicitly set a Content-Type HTTP header, allowing user-provided inputs to be misinterpreted and lead to reflected XSS.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10086
- https://discuss.hashicorp.com/t/hcsec-2024-24-consul-vulnerable-to-reflected-xss-on-content-type-error-manipulation
- https://github.com/hashicorp/consul/commit/07fae7bb0be8593cc98c38b1ef4a49ed9188932f
- https://github.com/advisories/GHSA-99wr-c2px-grmh
- https://security.netapp.com/advisory/ntap-20250110-0006
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-2808
Consul is vulnerable to arbitrary file read when configured with Kubernetes authentication
medium6.8Mar 12, 2026CVE-2025-11374
Consul key/value endpoint is vulnerable to denial of service
medium6.5Oct 28, 2025CVE-2025-11375
Consul event endpoint is vulnerable to denial of service
medium6.5Oct 28, 2025CVE-2024-10005
Hashicorp Consul Path Traversal vulnerability
high8.1Oct 31, 2024CVE-2024-10006
Hashicorp Consul Improper Neutralization of HTTP Headers for Scripting Syntax vulnerability
medium8.3Oct 31, 2024CVE-2020-25201
Denial of service in HashiCorp Consul
high7.5Jan 31, 2024
