A vanilla hack is a hack that only used that which is given from Super Mario World. That means no custom blocks, music, or graphics.
It has been debated what exactly defines a vanilla hack, though. Some say that YY-CHR and Map16 are allowed as long as they use the original SMW graphics. Others say that Lunar Magic is the only tool that is allowed, and no Map16.