Hey!
I also have the AMD FX 6300
Is it overclocked? What games do you play and on what settings? Do you have an aftermarket or stock cooler? How much thermal paste did you apply and how? Is the cooler applied correctly? Please answer these questions.
I use an aftermarket COOLMASTER HYPER 212 EVO. At idle, my temps are around 26C. 30C MAX. At full load , prob around 40C MAX.
Considering this, yup. The temps you are getting are dangerous. But don't worry, we can fix this!