CVE-2020-25864: HashiCorp Consul and Consul Enterprise up to version 1.9.4 key-value (KV) raw mode was vulnerable to cross-sit
CVE-2020-25864 is a medium-severity flaw (CVSS 6.1) affecting consul. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 7%: very likely to be exploited
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 6.1% (top 7%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2021-04-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: HashiCorp Consul/Consul Enterprise <=1.9.4 - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-25864?
consul: upgrade to 1.7.14, 1.8.10, 1.9.5. Exact commands for each OS are on this page.
Is CVE-2020-25864 being exploited?
CVE-2020-25864 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-25864 affect?
CVE-2020-25864 affects consul. Severity is medium (CVSS 6.1). 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.
How urgent is CVE-2020-25864?
Priority 45/100. EPSS top 7%: very likely to be exploited
Software pages
Related CVEs
- CVE-2025-11374 MEDIUM 6.5 UPGRADE Consul and Consul Enterprise’s (“Consul”) key/value endpoint is vulnerable to denial of service (DoS) due to i
- CVE-2025-11375 MEDIUM 6.5 UPGRADE Consul and Consul Enterprise’s (“Consul”) event endpoint is vulnerable to denial of service (DoS) due to lack
- CVE-2024-10086 MEDIUM 6.1 UPGRADE A vulnerability was identified in Consul and Consul Enterprise such that the server response did not explicitl
- CVE-2024-10006 HIGH 8.3 UPGRADE A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using Headers in L7 traffi
- CVE-2024-10005 HIGH 8.1 UPGRADE A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that using URL paths in L7 traf