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
Police believe the man's car collided with a tree in the early hours of Sunday morning
Things should brighten up this afternoon but a few showers are possible.
Jeremy Corbyn has joined tributes to Carwyn Jones in Liverpool at the outgoing First Minister's last conference as Welsh Labour leader