Skip to content
Heist/ feed
Back to feed
Medium

Vault’s KV Diff Viewer Allowed for HTML Injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-2121
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:04 UTC · Revision 1

Source evidence

Vault’s KV Diff Viewer Allowed for HTML Injection

core-osv · Original source

Published 9 Jun 2023, 16:59 UTC

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.

osv:CVE-2023-2121
Complete source record
{
  "id": "da2168fed4e5f3827af6eeb057366448eaf41f25fe1fb53886b07dbfd19fa3ae",
  "url": "https://osv.dev/vulnerability/CVE-2023-2121",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Vault’s KV Diff Viewer Allowed for HTML Injection",
    "summary": "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.",
    "evidence": "osv:CVE-2023-2121",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-2121",
      "aliases": [
        "BIT-vault-2023-2121",
        "CVE-2023-2121",
        "GHSA-gq98-53rq-qr5h",
        "GO-2023-1849"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/vault",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a4cf0dc4437de35fce4860857b64569d092a9b5a"
                },
                {
                  "fixed": "3bedf816cbf851656ae9e6bd65dd4a67a9ddff5e"
                },
                {
                  "introduced": "558abfa75702b5dab4c98e86b802fb9aef43b0eb"
                },
                {
                  "fixed": "54c721017a52d7b94ec5bd4e570e7cdfc9e021a1"
                },
                {
                  "introduced": "ea296ccf58507b25051bc0597379c467046eb2f1"
                },
                {
                  "fixed": "f4f1a2cf9ca4b5b649e7cf98f459283e94a620ea"
                },
                {
                  "introduced": "7738ec5d0d6f5bf94a809ee0f6ff0142cfa525a6"
                },
                {
                  "fixed": "ea296ccf58507b25051bc0597379c467046eb2f1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.13.0"
                      },
                      {
                        "fixed": "1.13.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.12.0"
                      },
                      {
                        "fixed": "1.12.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.11.0"
                      },
                      {
                        "fixed": "1.11.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.10.0"
                      },
                      {
                        "fixed": "1.11.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.12.6",
            "v1.13.2",
            "v1.13.1",
            "v1.12.5",
            "v1.13.0",
            "v1.12.4",
            "v1.12.3",
            "v1.12.2",
            "v1.12.1",
            "v1.12.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2121.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.190671313Z",
      "provider": "osv",
      "references": [
        "https://discuss.hashicorp.com/t/hcsec-2023-17-vault-s-kv-diff-viewer-allowed-html-injection/54814",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2121.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-2121",
        "https://github.com/hashicorp/vault"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "HashiCorp",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2121.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-2121",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504485,
  "published_at": "2023-06-09T16:59:49.065+00:00"
}