A spoiler in media is a piece of information about a particular work that reveals the plot or twists, and thus may "spoil" the experience for readers who have not yet interacted with the work.
Spoiler (media) Media
Roger Ebert, the film critic, giving an interview at a Chicago public radio station, on Sound Opinions program in 2006