The episode title is a twist on the term "Black Widow", which in a criminological context refers to female killers who murder their husbands or boyfriends.
Psycho: When Sideshow Bob goes to see Selma's dead corpse in the chair, he turns it around to see that Bart is there instead. He whacks the light, and as it swings back and forth, he sees Selma in the doorway. This sequence parodies the film's famous ending scene.
Encyclopedia Brown: Bob's scheme (and its revealing) are similar to the pattern of how Encyclopedia Brown stories unfold.
When Patty tells the family that there is something disturbing about Selma's new boyfriend, Lisa imagines Selma walking arm in arm with a tall man in a big coat and hat with a bag over his head with one eye hole and a walking stick. This appears to be a reference to Joseph Merrick, The Elephant Man.
When Bob is saying goodbye to his fellow inmates he says goodbye to the first two and then turns to Snake to say that he thinks he is going to miss him most of all. This mirrors the goodbye scene from The Wizard of Oz.
Cool Hand Luke is referenced when a flashback showing Bob's time in prison is played. The music is a direct reference to the soundtrack, as are the outfits and guard with the aviator sunglasses.
When the family leaves the house to save Selma, Homer shouts "to the Simpson mobile!" This is a reference to the Batman TV show.
The show that the family is watching in the beginning is a parody of Dinosaurs (TV series), a former ABC show. It is commonly believed many Simpsons writers saw the other series as a knock-off of their own (hence Bart's words "It's like they saw our lives and put it right on screen.")
We learn that Selma lost her sense of smell and taste when she was young after a firecracker accident, yet in previous and future episodes, she has been able to taste and smell.
This episode marks the first time Selma and Patty watch their favorite TV show MacGyver.