CVE-2023-2121
MEDIUM 5.4CVSS 3.1Hashicorp Vault vulnerable to Cross-site Scripting
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.
- Published
- 9 Jun 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-vault-2023-2121GHSA-gq98-53rq-qr5hGO-2023-1849
- Sources
- NVDJSONOSV GHSA-gq98-53rq-qr5hJSONOSV GO-2023-1849JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
< 1.11.11 | 1.11.11 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
< 1.11.11 | 1.11.11 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.12.0, < 1.12.7 | 1.12.7 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.12.0, < 1.12.7 | 1.12.7 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.13.0, < 1.13.3 | 1.13.3 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.13.0, < 1.13.3 | 1.13.3 |
| OSV | Go | github.com/hashicorp/vault | < 1.11.11 | 1.11.11 |
| OSV | Go | github.com/hashicorp/vault | >= 1.12.0, < 1.12.7 | 1.12.7 |
| OSV | Go | github.com/hashicorp/vault | >= 1.13.0, < 1.13.3 | 1.13.3 |
| OSV | Go | github.com/hashicorp/vault | < 1.11.11; >= 1.12.0, < 1.12.7; >= 1.13.0, < 1.13.3 | 1.11.11, 1.12.7, 1.13.3 |
References
- https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-2121 · ADVISORY
- https://github.com/hashicorp/vault · PACKAGE
- https://github.com/advisories/GHSA-gq98-53rq-qr5h · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 9 Jun 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jun 2023)