The passwords do not get escaped. Therefore, when I use my password which has an ' character in it, it errors out saying syntax error near my password. This is annoying because that's my password and it means anyone who has an account can change their password to inject sql.
This is on postgresql using virtual min to create the account.
Thanks for pointing this out .. this will be fixed in the next Virtualmin release.