Sagging floors are not necessarily dangerous. The problem is that weak joists and softening subfloors can cause sagging, and it can worsen over time. So while they may not be dangerous now, they could become so if you do not fix them.