My common toilet has the same problem, My ID did a check and the smell is coming from my neighbours below.
Basically what they did is an illegal modification, so instead of an S-trap it's a straight pipe. I would suggest checking
your neighbours piping.