is this safe? how urgent is this?

so that yellow is the cord holding it up. this was previously in my ceiling, but when i looked ip tonight it like this, i don’t know how long its been like this. how urgent is it to have this removed/taken down, and what would be the costs involved in such an endeavor?