This is why you should always stick to the Tor Browser. See for instance the Tor Browser Design Doc (a bit outdated but still has a lot of info) for how much work they put to make sure that it stays as private as possible https://2019.www.torproject.org/projects/torbrowser/design