Fact 1: RNA is a small molecule that can squeeze through pores in the nuclear membrane. 
Fact 2: Like proteins, DNA and RNA are polymers of various small chemically related molecules.
polymers of various small chemically related molecules can squeeze through pores in the nuclear membrane.