Can passwords be compromised via compromised router?

If I am using an up to date device to access internet, can passwords I type on genuine https websites get compromised?

For instance, will the password that I type on be compromised, if my device is connected to compromised router while accessing it? since everything has to go theough router?

Really bugging me. Please please help.

Go to Source
Author: B_S_M