# CVE-2024-10086: Consul Vulnerable To Reflected XSS On Content-Type Error Manipulation

- Severity: Medium 6.1 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-10-30T21:21:46.559Z
- Modified: 2026-09-10T03:50:19.464Z
- Also known as: GHSA-99wr-c2px-grmh, BIT-CONSUL-2024-10086, GO-2024-3242
- Related: CGA-x477-pxvm-w783
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: HashiCorp

## 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.

(As written by CVE List.)

## Affected

- HashiCorp Consul: from 1.4.1 before 1.20.0; from 1.4.1 before 1.15.15; from 1.18.0 before 1.18.5; from 1.19.0 before 1.19.3
- HashiCorp Consul Enterprise: from 1.4.1 before 1.20.0
- github.com/hashicorp/consul (Go): from 1.4.1 before 1.20.0
- consul (Bitnami): from 1.4.1 before 1.20.0

## Every score

- HashiCorp: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.hashicorp.com/t/hcsec-2024-24-consul-vulnerable-to-reflected-xss-on-content-type-error-manipulation> (advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20250110-0006/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10086> (advisory, web)
- <https://github.com/hashicorp/consul/commit/07fae7bb0be8593cc98c38b1ef4a49ed9188932f> (fix, web)
- <https://github.com/advisories/GHSA-99wr-c2px-grmh> (advisory)
- <https://github.com/hashicorp/consul> (package)
- <https://security.netapp.com/advisory/ntap-20250110-0006> (web)

## Sources

- CVE List: [CVE-2024-10086](https://www.cve.org/CVERecord?id=CVE-2024-10086), CVE Terms of Use, modified 2025-01-10
- GitHub Advisory Database: [GHSA-99wr-c2px-grmh](https://github.com/advisories/GHSA-99wr-c2px-grmh), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3242](https://pkg.go.dev/vuln/GO-2024-3242), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-10086](https://nvd.nist.gov/vuln/detail/CVE-2024-10086), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CONSUL-2024-10086](https://osv.dev/vulnerability/BIT-CONSUL-2024-10086), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-10086 · Whole record: https://cve.day/CVE-2024-10086.json · Rebuilt by cve.day 2026-11-25T22:58:47.544Z
