"Doctor Who" season 8 scripts leaked online

Clara (Jenna Coleman) and The Doctor (Peter Capaldi) of "Doctor Who."

BBC America

The BBC is urging "Doctor Who" fans to not share spoilers after five scripts from the upcoming eighth season were leaked online.

In a statement, BBC Worldwide (the British corporation's commercial arm) confirmed the leak, which happened just weeks before the season -- starring Peter Capaldi as the new Doctor -- is set to premiere on Aug. 23.

"BBC Worldwide is currently investigating a security issue around 'Doctor Who' Series 8 where unfinished material has inadvertently been made public," the statement said. "We deeply regret this and apologize to all the show's fans, the BBC and the cast and crew who have worked tirelessly making the series."

The statement continued, "We would like to make a plea to anyone who might have any of this material and spoilers associated with it not to share it with a wider audience so that everyone can enjoy the show as it should be seen on 23rd August. We know only too well that 'Doctor Who' fans are the best in the world and we thank them for their help with this and their continued loyalty."

The season 8 premiere episode, titled "Deep Breath" and written by executive producer Steven Moffat, is said to be among the five scripts that leaked online. According to Radio Times, the leak reportedly occurred after the scripts for send to BBC Worldwide's new Latin America headquarters in Miami for translation.

"Doctor Who" will see Capaldi step into the role as the 12th Doctor this season, co-starring alongside Jenna Coleman. The two stars are due to embark on a global publicity tour, which includes a stop in New York, ahead of next month's premiere.