{"id":"CVE-2023-2121","published":"2023-06-09T16:59:49Z","modified":"2025-01-06T18:15:00Z","title":"Vault’s KV Diff Viewer Allowed for HTML Injection","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00417,"percentile":0.36892,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814","tags":[]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":7.38},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 1.13.0, < 1.13.3",">= 1.12.0, < 1.12.7",">= 1.11.0, < 1.11.11",">= 1.10.0, < 1.11.0"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 1.13.0, < 1.13.3",">= 1.12.0, < 1.12.7",">= 1.11.0, < 1.11.11",">= 1.10.0, < 1.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-06T18:14:31.031750Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":["<1.11.11",">=1.12.0, <1.12.7",">=1.13.0, <1.13.3"],"patched":["1.11.11","1.12.7","1.13.3"],"from":["GHSA-gq98-53rq-qr5h","GO-2023-1849"],"provenance":"source"}],"summary":{"text":"The HTML injection flaw lives in the key-value v2 (kv-v2) diff viewer of HashiCorp's Vault and Vault Enterprise, where key values can inject HTML into the Vault web UI. An attacker with low-privileged authenticated access to Vault, reaching it over the network, can plant crafted values in kv-v2 secrets and have them rendered, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:05:43Z"},"euvd":{"id":"EUVD-2023-1807","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-0620","published":"2023-03-30","fixed":"1.13.1","kev":false},{"cve":"CVE-2023-0665","published":"2023-03-30","fixed":"1.13.1","kev":false},{"cve":"CVE-2023-25000","published":"2023-03-30","fixed":"1.13.1","kev":false,"link":{"from":"CVE-2023-25000","to":"CVE-2023-2121","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.11.9","toFixed":"1.11.11","daysApart":71}]}},{"cve":"CVE-2023-2121","published":"2023-06-09","fixed":"1.13.3","kev":false},{"cve":"CVE-2023-3462","published":"2023-07-31","fixed":"1.14.1","kev":false,"link":{"from":"CVE-2023-2121","to":"CVE-2023-3462","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.13.3","toFixed":"1.13.5","daysApart":52}]}},{"cve":"CVE-2023-4680","published":"2023-09-14","fixed":"1.14.3","kev":false,"link":{"from":"CVE-2023-2121","to":"CVE-2023-4680","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.12.7","toFixed":"1.12.11","daysApart":97}]}},{"cve":"CVE-2023-5954","published":"2023-11-09","fixed":"1.15.2","kev":false}],"package":"Go:github.com/hashicorp/vault"}}