The fundamental unit, which has the same power in the dimensional formulae of surface tension and coefficient of viscosity is
mass
length
time
None of these
[Surface tension] = ML0T-2, viscosity=ML-1T-1.
Clearly, mass has the same exponent in these physical quantities.