{"cve":"CVE-2023-2121","nvd":{"published":"2023-06-09T17:15:09.467","modified":"2026-06-17T05:51:27.270","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"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"],"products":["hashicorp:vault"],"source":"nvd","synced_at":"2026-10-19T21:38:24.161619714+00:00"},"epss":{"cve":"CVE-2023-2121","score":0.00417,"percentile":0.36049,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gq98-53rq-qr5h","url":"https://osv.dev/vulnerability/GHSA-gq98-53rq-qr5h","summary":"Hashicorp Vault vulnerable to Cross-site Scripting","modified":"2026-09-10T03:49:54.426530080Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.11.11"],"fixed":["1.11.11"]},{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.12.0 <1.12.7"],"fixed":["1.12.7"]},{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=1.13.0 <1.13.3"],"fixed":["1.13.3"]}]},{"id":"GO-2023-1849","url":"https://osv.dev/vulnerability/GO-2023-1849","summary":"Hashicorp Vault vulnerable to Cross-site Scripting in github.com/hashicorp/vault","modified":"2026-02-04T03:04:27.771187Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.11.11",">=1.12.0 <1.12.7",">=1.13.0 <1.13.3"],"fixed":["1.11.11","1.12.7","1.13.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}