Intel

AIKIDO-2024-10339

github.com/hashicorp/consul is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 15, 2024

24

Low Risk

This Affects:

gogithub.com/hashicorp/consul
1.9.0 - 1.19.2
Fixed in 1.20.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Cross-site Scripting (XSS) when opening a tab based on user-defined input. If user input is not properly sanitized, an attacker could inject malicious scripts that execute in the context of another user's session, leading to potential data theft, session hijacking, or other malicious actions.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

github.com/hashicorp/consul is vulnerable to Cross-site Scripting (XSS) in versions 1.9.0 - 1.19.2.

How to fix this

Upgrade the github.com/hashicorp/consul library to the patch version.