I had the same issue. I tracked it down to a plugged sunroof drain. The sunroof overflowed, dripped along the drain pipe and landed in the footwell, behind the fuse box.
The sunroof drains are one at each front corner of the sunroof, just where the wind breaker lowers into when the sunroof is...