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
Want to be a millionaire? Well if you're living in Wales it will take you 50 years to achieve it.
Hundreds of steelworkers will march today to highlight the their industry crisis as a shortlist of bidders is drawn up for Tata's UK assets.
Sunshine will be at a premium today, with largely grey and overcast skies! But at least it should remain dry!