{"id":"CVE-2023-2121","summary":"Vault’s KV Diff Viewer Allowed for HTML Injection","details":"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.","aliases":["BIT-vault-2023-2121","GHSA-gq98-53rq-qr5h","GO-2023-1849"],"modified":"2026-08-12T03:51:39.732092593Z","published":"2023-06-09T16:59:49.065Z","related":["CGA-vh8w-x5mx-x58p"],"database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2121.json","cna_assigner":"HashiCorp"},"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2121.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2121"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/vault","events":[{"introduced":"a4cf0dc4437de35fce4860857b64569d092a9b5a"},{"fixed":"3bedf816cbf851656ae9e6bd65dd4a67a9ddff5e"},{"introduced":"558abfa75702b5dab4c98e86b802fb9aef43b0eb"},{"fixed":"54c721017a52d7b94ec5bd4e570e7cdfc9e021a1"},{"introduced":"ea296ccf58507b25051bc0597379c467046eb2f1"},{"fixed":"f4f1a2cf9ca4b5b649e7cf98f459283e94a620ea"},{"introduced":"7738ec5d0d6f5bf94a809ee0f6ff0142cfa525a6"},{"fixed":"ea296ccf58507b25051bc0597379c467046eb2f1"}],"database_specific":{"extracted_events":[{"introduced":"1.13.0"},{"fixed":"1.13.3"},{"introduced":"1.12.0"},{"fixed":"1.12.7"},{"introduced":"1.11.0"},{"fixed":"1.11.11"},{"introduced":"1.10.0"},{"fixed":"1.11.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.11.10","v1.12.6","v1.13.2","v1.13.1","v1.11.9","v1.12.5","v1.11.8","v1.13.0","v1.12.4","v1.11.7","v1.12.3","v1.11.6","v1.12.2","v1.11.5","v1.12.1","v1.12.0","v1.11.4","v1.11.3","v1.11.2","v1.11.1","v1.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2121.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}