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
Monday will be another warm day in light winds, with some cloud in the east, and the best of the sunshine in the west.
Another fine and dry day with long sunny spells.
Welsh acts Jamie Miller and Into The Ark have made it to the final of ITV's The Voice UK.