I don’t know all the specifics, but I am sure that they would not do this without being perfectly certain that it is legal!
Obviously, you’ve been using this card as your piggy bank. The solution is to pay down this line of credit if the interest rate jumps significantly. And how will you do that?? Only two choices — earn more (a part time job?) or cut your spending.