Swearing

My daughter is constantly swearing. School have told me she's been swearing all day, same with yesterday, good mood or bad mood, and told a student to 'eff off'. At home she's been swearing quite a bit. I'm not sure why she is, she knows it's wrong and inappropriate and doesn't usually do it unless there's a good reason. What can I do? Do I ignore and wait for it to pass or do something? I have an 8 y.o son who is starting to catch on to the swearing from her.