Shortly after reaching the liberated territory, Maglajlić took up politics. She worked with the people of Kozara, Grmeč and Cazin, mostly with women. Her influence was most notable among the Muslim women of Cazin, and her political career culminated with her election to the Central Committee of the Women's Antifascist Front of Bosnia and Herzegovina on 6 December 1942. She represented the communists in Sanski Most and Bosanski Novi until January 1943, when the Fourth Enemy Offensive forced her to retreat over Mount Šator into Glamoč and Livno. She soon found herself back in Bosanska Krajina, and returned to Bosanski Novi.