patchminder
No public exploit found CVE-2023-2121

Cross-site scriptingin HashiCorp Vault.

Published 9 Jun 2023 · Updated 6 Jan 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 4.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.4% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade Vault to 1.11.0, 1.11.11, 1.12.7, 1.13.3 or later, whichever matches your release line.
  • Upgrade Vault Enterprise to 1.11.0, 1.11.11, 1.12.7, 1.13.3 or later, whichever matches your release line.
  • Upgrade github.com/hashicorp/vault (Go) to 1.11.11, 1.12.7, 1.13.3 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Vault
1.13.0 to before 1.13.3
1.13.3
CVE record
Vault
1.12.0 to before 1.12.7
1.12.7
CVE record
Vault
1.11.0 to before 1.11.11
1.11.11
CVE record
Vault
1.10.0 to before 1.11.0
1.11.0
CVE record
Vault Enterprise
1.13.0 to before 1.13.3
1.13.3
CVE record
Vault Enterprise
1.12.0 to before 1.12.7
1.12.7
CVE record
Vault Enterprise
1.11.0 to before 1.11.11
1.11.11
CVE record
Vault Enterprise
1.10.0 to before 1.11.0
1.11.0
CVE record
github.com/hashicorp/vault (Go)
before 1.11.11
1.11.11
GitHub advisory
github.com/hashicorp/vault (Go)
1.12.0 to before 1.12.7
1.12.7
GitHub advisory
github.com/hashicorp/vault (Go)
1.13.0 to before 1.13.3
1.13.3
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 17 Apr 2023
    CVE ID reserved by HashiCorp.
  2. 9 Jun 2023
    Published in the CVE List.
  3. 6 Jan 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Vault vulnerabilities

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-2121: Cross-site scripting in HashiCorp Vault. https://patchminder.com/cve/cve-2023-2121/ (accessed 5 December 2026).