In a statement on Cwmcarn High School's website, headteacher Jacqui Peplinski said "concerns were dealt with swiftly".
"There was no risk to any staff or learner and the relevant support services were contacted as a precautionary measure."
"Cwmcarn High is a caring and safe environment and we are committed to everyone’s safety."
More top news
The four Welsh regions are preparing to face each other tomorrow in one of the biggest fixtures in the Welsh rugby calendar.
A few wintry showers in the north today but things are looking up! There should be some dry and bright spells later!
A wealthy couple claimed more than £43,000 in benefits while having a small fortune in the bank, Cardiff Crown Court has heard.