Consul Vulnerable To Reflected XSS On Content-Type Error Manipulation (CVE-2024-10086)
Consul and Consul Enterprise versions from 1.4.1 up to but not including 1.20.0 are affected by a reflected cross-site scripting (XSS) vulnerability. This occurs because the server response does not explicitly set a Content-Type HTTP header, allowing user input to be misinterpreted and reflected in the response. The vulnerability has a medium severity rating and a patch is available to address the issue.
AI Analysis
Technical Summary
CVE-2024-10086 is a reflected XSS vulnerability in Consul and Consul Enterprise where the server response lacks an explicit Content-Type HTTP header. This omission allows user-supplied inputs to be misinterpreted by browsers, leading to reflected cross-site scripting. The affected versions are >=1.4.1 and <1.20.0. No CVSS score is provided, but the issue is rated medium severity. A patch is available to fix this vulnerability.
Potential Impact
An attacker could exploit this vulnerability to execute reflected cross-site scripting attacks by manipulating user inputs that are reflected in server responses without proper Content-Type headers. This could lead to the execution of arbitrary scripts in the context of the victim's browser, potentially resulting in session hijacking or other client-side impacts. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Consul and Consul Enterprise to versions 1.20.0 or later where this issue is fixed. Until patched, users should be aware of the risk of reflected XSS due to missing Content-Type headers in server responses.
Consul Vulnerable To Reflected XSS On Content-Type Error Manipulation (CVE-2024-10086)
Description
Consul and Consul Enterprise versions from 1.4.1 up to but not including 1.20.0 are affected by a reflected cross-site scripting (XSS) vulnerability. This occurs because the server response does not explicitly set a Content-Type HTTP header, allowing user input to be misinterpreted and reflected in the response. The vulnerability has a medium severity rating and a patch is available to address the issue.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-10086 is a reflected XSS vulnerability in Consul and Consul Enterprise where the server response lacks an explicit Content-Type HTTP header. This omission allows user-supplied inputs to be misinterpreted by browsers, leading to reflected cross-site scripting. The affected versions are >=1.4.1 and <1.20.0. No CVSS score is provided, but the issue is rated medium severity. A patch is available to fix this vulnerability.
Potential Impact
An attacker could exploit this vulnerability to execute reflected cross-site scripting attacks by manipulating user inputs that are reflected in server responses without proper Content-Type headers. This could lead to the execution of arbitrary scripts in the context of the victim's browser, potentially resulting in session hijacking or other client-side impacts. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade Consul and Consul Enterprise to versions 1.20.0 or later where this issue is fixed. Until patched, users should be aware of the risk of reflected XSS due to missing Content-Type headers in server responses.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BIT-consul-2024-10086
- Osv Schema Version
- 1.5.0
- Aliases
- ["CVE-2024-10086"]
- Ecosystems
- ["Bitnami"]
- Database Specific Severity
- Medium
Threat ID: 6a8c4c6facd9273b499c0ca1
Added to database: 08/24/2026, 13:51:43 UTC
Last enriched: 08/24/2026, 14:25:29 UTC
Last updated: 09/10/2026, 19:24:53 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.