Is it safe to have sex during menstruation?

Yes. A woman's risk of contracting certain STDs increase during menses so as always, use protection such as a condom.