Abstract A simple and efficient one-pot synthesis of heteroaryl-substituted benzenes has been developed via cyclocondensation of vinylmalononitriles and ethylvinylcyanoacetates with heteroarylnitroolefines using diazabicyclo [2, 2, 2] octane as catalyst. The titled compounds were evaluated for their antitubercular, antibacterial and antifungal activities at various concentrations.