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
It's Christmas Jumper Day and Dyfed-Powys Police has dealt with a man caught stealing two Christmas jumpers.
The two males were abandoned in a small cardboard box at a retail park in Newport, prompting an RSPCA appeal.
Luke Williams has not seen his mum for six months. She has applied for several visas to join her family, but she has been refused so far.