Is this safe extractor fan wires exposed bathroom
The extractor fan should have a junction box for the splice. There should be a cable like Romex or conduit encasing individual wires. As this is a rental, in the US electrical work in most jurisdictions is required to be done by a licensed electrician or possibly a handyman if it was a replacement, 
From your description it would not meet code. 
A photo of the wiring would get a better answer.