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

CVE-2020-25864: Cross-site Scripting

April 20, 2021 (updated April 23, 2021)

A vulnerability was identified in Consul and Consul Enterprise such that a specially crafted key-value entry could be used to perform a cross-site scripting (XSS) attack when viewed in Consul KV API’s raw mode.

References

  • discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368
  • nvd.nist.gov/vuln/detail/CVE-2020-25864
  • 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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

  • v1.7.14
  • v1.8.10
  • v1.9.5

Solution

Upgrade to versions 1.7.14, 1.8.10, 1.9.5 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/acl/CVE-2020-25864.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:41 +0000.