Both are acceptable. It seems to me that it flows better to place the "also" after the modal "can" so I prefer the second, "But it also can be dangerous". Note that with non-modal auxiliairies (be or have) this is not possible.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.