Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/consul
  4. ›
  5. CVE-2020-25864

CVE-2020-25864: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 24, 2022 (updated June 9, 2023)

HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-site scripting. Fixed in 1.9.5, 1.8.10 and 1.7.14.

References

  • discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368
  • github.com/advisories/GHSA-8xmx-h8rq-h94j
  • nvd.nist.gov/vuln/detail/CVE-2020-25864
  • security.gentoo.org/glsa/202208-09
  • www.hashicorp.com/blog/category/consul

Code Behaviors & Features

Detect and mitigate CVE-2020-25864 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.14, all versions starting from 1.8.0 before 1.8.10, all versions starting from 1.9.0 before 1.9.5

Fixed versions

  • 1.8.10
  • 1.9.5
  • 1.7.14

Solution

Upgrade to versions 1.8.10, 1.9.5, 1.7.14 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/hashicorp/consul/CVE-2020-25864.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.