In 2021, a critical backdoor (CVE-2021-33044) was discovered in older Dahua firmware. Attackers could remotely log in with a specially crafted cookie. The released after 2022 patches this.
When you log back in via a web browser, you will likely be prompted to install a new version of the (necessary for video viewing in Internet Explorer mode, Edge, or Chrome). Download and install this immediately.