{"schemaVersion":3,"id":"CVE-2023-2121","aliases":["CGA-4p3w-6w3r-53q8","CGA-7q9h-pm53-f72p","CGA-c8c3-w444-rxw2","CGA-j656-798r-8374","CGA-wpmm-9wgv-8jx3","CGA-xj92-pcvf-vjwp","GHSA-gq98-53rq-qr5h","BIT-vault-2023-2121","GO-2023-1849","CGA-537r-hr73-m699","CGA-8hv2-jrgf-f8w3","CGA-h26x-682r-7j6p","CGA-j8j5-mh6w-gxxm"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-06-09T16:59:49.065Z","modified":"2025-01-06T18:15:00.958Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00417,"percentile":0.34886,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00417},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00417,"percentile":0.34886}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00417,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00417,"percentile":0.34886}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"k3d","name":"k3d","label":"k3d","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"k3d-proxy","name":"k3d-proxy","label":"k3d-proxy","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d-proxy","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"k3d-tools","name":"k3d-tools","label":"k3d-tools","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/k3d-tools","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.16","name":"vault-1.16","label":"vault-1.16","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.16","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"vault-1.16-compat","name":"vault-1.16-compat","label":"vault-1.16-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/vault-1.16-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d","name":"k3d","label":"k3d","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d-proxy","name":"k3d-proxy","label":"k3d-proxy","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d-proxy","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"wolfi","product":"k3d-tools","name":"k3d-tools","label":"k3d-tools","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/k3d-tools","purlType":"apk","versions":[{"text":"< 5.6.0-r11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.6.0-r11","eol":null,"hubHref":null},{"vendor":"github.com/hashicorp","product":"vault","name":"github.com/hashicorp/vault","label":"vault","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hashicorp/vault","purlType":"golang","versions":[{"text":"< 1.11.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.12.0, < 1.12.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.13.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.11.11 | ≥ 1.12.0, < 1.12.7 | ≥ 1.13.0, < 1.13.3","eol":null,"hubHref":null},{"vendor":"hashicorp","product":"vault","name":"vault","label":"vault","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.11.0, < 1.11.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.10.0, < 1.11.0","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.12.0, < 1.12.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.13.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.11.0, < 1.11.11 | ≥ 1.10.0, < 1.11.0 | < 1.11.11 | ≥ 1.12.0, < 1.12.7 | ≥ 1.13.0, < 1.13.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"hashicorp-vault","label":"Hashicorp Vault","category":"server-app"}},"hubHref":"/vendor/hashicorp/vault"},{"vendor":"hashicorp","product":"vault enterprise","name":"Vault Enterprise","label":"vault enterprise","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.13.0, < 1.13.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.12.0, < 1.12.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.11.0, < 1.11.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.10.0, < 1.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.13.0, < 1.13.3 | ≥ 1.12.0, < 1.12.7 | ≥ 1.11.0, < 1.11.11 | ≥ 1.10.0, < 1.11.0","eol":null,"hubHref":"/vendor/hashicorp/vault_enterprise"}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814","label":"discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814","hostname":"discuss.hashicorp.com","tags":["WEB","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2121.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2121.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2121","label":"nvd.nist.gov/vuln/detail/CVE-2023-2121","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/hashicorp/vault","label":"github.com/hashicorp/vault","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-gq98-53rq-qr5h","label":"github.com/advisories/GHSA-gq98-53rq-qr5h","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-548R-2P5F-VJ34","CGA-6275-53HR-7VXH","CGA-6QF6-2CWJ-4V55","CGA-82PX-P7VG-J827","CGA-RQP2-7FRH-8X2P","CGA-VH8W-X5MX-X58P"]},"timeline":[{"kind":"published","date":"2023-06-09T16:59:49.065Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-06T18:15:00.958Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:38:41.370Z","stale":false,"partial":false}}