# CVE-2023-2121: Vault’s KV Diff Viewer Allowed for HTML Injection

- Severity: Medium 4.3 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2023-06-09T16:59:49.065Z
- Modified: 2026-09-10T03:49:54.426Z
- Also known as: GHSA-gq98-53rq-qr5h, BIT-VAULT-2023-2121, GO-2023-1849
- Related: CGA-vh8w-x5mx-x58p
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: HashiCorp

## 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.

(As written by CVE List.)

## Affected

- HashiCorp Vault: from 1.13.0 before 1.13.3; from 1.12.0 before 1.12.7; from 1.11.0 before 1.11.11; from 1.10.0 before 1.11.0; before 1.11.11
- HashiCorp Vault Enterprise: from 1.13.0 before 1.13.3; from 1.12.0 before 1.12.7; from 1.11.0 before 1.11.11; from 1.10.0 before 1.11.0
- github.com/hashicorp/vault (Go): before 1.11.11; from 1.12.0 before 1.12.7; from 1.13.0 before 1.13.3
- vault (Bitnami): before 1.11.11; from 1.12.0 before 1.12.7; from 1.13.0 before 1.13.3

## Every score

- HashiCorp: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2121> (advisory, web)
- <https://github.com/hashicorp/vault> (package)
- <https://github.com/advisories/GHSA-gq98-53rq-qr5h> (advisory)

## Sources

- CVE List: [CVE-2023-2121](https://www.cve.org/CVERecord?id=CVE-2023-2121), CVE Terms of Use, modified 2025-01-06
- GitHub Advisory Database: [GHSA-gq98-53rq-qr5h](https://github.com/advisories/GHSA-gq98-53rq-qr5h), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-1849](https://pkg.go.dev/vuln/GO-2023-1849), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-2121](https://nvd.nist.gov/vuln/detail/CVE-2023-2121), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-VAULT-2023-2121](https://osv.dev/vulnerability/BIT-VAULT-2023-2121), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-2121 · Whole record: https://cve.day/CVE-2023-2121.json · Rebuilt by cve.day 2026-11-25T22:58:24.723Z
