To be fair, lots of people use debit Visa/Mastercard cards instead. If I had a credit card, I don't think I'd be comfortable buying something online with it.
The risk is pretty much the opposite of what you think it is. One gives access to your bank account. The other you are protected from paying fraudulent charges.