Gay-friendly comedy Glee has been criticised for using a track by convicted paedophile Gary Glitter.

In the episode, actress Gwyneth Paltrow sings a version of Do You Wanna Touch Me? (Oh Yeah) to a group of students during a sex education class.

Glitter co-wrote the 1973 hit and will receive royalties for the use of the song.

Children’s charities reacted angrily to the news. Kidscape said the inclusion of the song was “wholly inappropriate”.

The episode, titled Sexy, was aired in the US on Tuesday. Reports said that television bosses were considering cutting the scene when the show is screened in the UK.

But a Channel 4 spokeswoman said: “The scene is editorially justified and we do not seek to censor material in the proper context.”

Glitter, real name Paul Francis Gadd, served 27 months in a Vietman prison for molesting underage girls.