At school, Seymour Skinner sings "Michigan Rag" for Bart Simpson on the PA system, which is from the Looney Tunes's episode One Froggy Evening.
Snowball II looks like Daffy Duck breathing flames from the cartoon Duck Amuck.
Charlie Brown and friends are seen trick-or-treating outside the Simpsons home.
A monkey's paw that grants wishes is based on "The Monkey's Paw" horror story by W.W. Jacobs.
Bart's nightmare is largely based from the "It's a Good Life" segment of The Twilight Zone.
During Lisa's nightmare, when the Simpsons are about to board the plane, the Moroccan police stop them by aiming pistols at them in the kneeling position, then lift up Homer's shirt to find smuggled items taped to his abdomen, parodying the opening scene of Midnight Express.
In Homer's nightmare, Mr. Burns is humming "If I only had a brain" from The Wizard of Oz while removing Homer's brain and the near-quote "You clinking, clattering, cacaphony of colligenous cogs and camshifts!" was originally used as an insult to the Tin Man.
When Mr. Burns sews Homer's brain back into his head, he originally said, "Quit complaining! This way I don't have to waste money on morphine! Well, Smithers, you were right — he was not dead. I guess I owe you a Coke." In the final version, Burns says, "Will you quit your complaining?"; Smithers adds, "Sir, he is alive.", then Burns says, "You're right, Smithers. I guess I owe you a Coke."
Although the episode itself (and the second segment where Bart is shown to read minds) is not canon, Bart being able to read minds in itself was later alluded to in The Boy Who Knew Too Much, where Skinner mentally threatened Bart.
When Flanders owns the Monkey's Paw nothing bad seems to happen to him after he makes the first wish.
After Flanders makes his wish to improve his house, the camera cuts to Homer where Ned's house still looks like it did before.