iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize ssh hostnames in URLs. The hostname's initial character may be non-alphanumeric. The hostname's other characters may be outside the set of alphanumeric characters, dash, and period.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "3.4.21"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta1"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta10"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta2"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta3"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta4"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta5"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta6"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta7"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta8"
},
{
"introduced": "0"
},
{
"last_affected": "3.5.0-beta9"
}
]
}