What’s Vulnerable › Vulnerabilities
CVE-2023-2121: Vault’s KV Diff Viewer Allowed for HTML Injection
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-06-09 · updated 2026-06-17
- Weakness: CWE-79
Description
Vault and Vault Enterprise's (Vault) key-value v2 (kv-v2) diff viewer allowed HTML injection into the Vault web UI through key values. This vulnerability, CVE-2023-2121, is fixed in Vault 1.14.0, 1.13.3, 1.12.7, and 1.11.11.
Affected products
- HashiCorp Vault: before 1.11.11; from 1.12.0 before 1.12.7; from 1.13.0 before 1.13.3 — fixed in 1.11.11, 1.12.7, 1.13.3
How to fix
Upgrade to a fixed version: HashiCorp Vault 1.11.11, 1.12.7, 1.13.3. Check the vendor advisory for mitigations.
References
- https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814
- https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814
Get alerted when CVE-2023-2121 or the next vulnerability affects your stack