A use-after-free vulnerability when using an incorrect URL during the reloading of a docshell. This results in a potentially exploitable crash. This vulnerability affects Firefox < 54 Firefox ESR < 52.2 and Thunderbird < 52.2.