{"id":"CVE-2021-3726","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.","modified":"2026-03-14T11:03:21.660952Z","published":"2021-11-30T10:15:08.883Z","references":[{"type":"FIX","url":"https://github.com/ohmyzsh/ohmyzsh/commit/a263cdac"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ohmyzsh/ohmyzsh","events":[{"introduced":"0"},{"fixed":"a263cdac"}]},{"type":"GIT","repo":"https://github.com/ohmyzsh/ohmyzsh","events":[{"introduced":"0"},{"fixed":"a263cdac"}]}],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"2021-11-11"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3726.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}