{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2021-11-11"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a263cdac"
            }
          ],
          "repo": "https://github.com/ohmyzsh/ohmyzsh",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a263cdac"
            }
          ],
          "repo": "https://github.com/ohmyzsh/ohmyzsh",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "# Vulnerability in `title` function **Description**: the `title` function defined in `lib/termsupport.zsh` uses `print` to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the `title` function in a way that is unsafe. **Fixed in**: [a263cdac](https://github.com/ohmyzsh/ohmyzsh/commit/a263cdac). **Impacted areas**: - `title` function in `lib/termsupport.zsh`. - Custom user code using the `title` function.",
  "id": "CVE-2021-3726",
  "modified": "2026-03-13T21:47:05.607542530Z",
  "published": "2021-11-30T10:15:08.883Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/ohmyzsh/ohmyzsh/commit/a263cdac"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}