An invalid downcast from `nsHTMLDocument` to `nsIContent` could have lead to undefined behavior. This vulnerability affects Firefox < 110. https://nvd.nist.gov/vuln/detail/CVE-2023-25736