Is secondary amenorrhea dangerous?

Not directly. The loss of periods (amenorrhea) itself is not dangerous, but the cause can be. If due to primary ovarian failure ("premature menopause") you can get early osteoporosis. If due to pcos, it increases the risk of endometrial cancer and diabetes.