What’s Vulnerable › Vulnerabilities
CVE-2024-10086: Consul Vulnerable To Reflected XSS On Content-Type Error Manipulation
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-30 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- HashiCorp Consul: from 1.4.1 before 1.15.15; from 1.4.1 before 1.20.0; from 1.18.0 before 1.18.5; from 1.19.0 before 1.19.3 — fixed in 1.15.15, 1.18.5, 1.19.3, 1.20.0
How to fix
Upgrade to a fixed version: HashiCorp Consul 1.15.15, 1.18.5, 1.19.3, 1.20.0. Check the vendor advisory for mitigations.
References
- https://discuss.hashicorp.com/t/hcsec-2024-24-consul-vulnerable-to-reflected-xss-on-content-type-error-manipulation
- https://security.netapp.com/advisory/ntap-20250110-0006/
Get alerted when CVE-2024-10086 or the next vulnerability affects your stack