From the WD-40 web pile:
What surfaces or materials are OK to use WD-40 multi-use product on?
safe to use on metal, rubber, wood and plastic. It can also be applied to painted metal surfaces without harming the paint. Polycarbonate and clear polystyrene plastic are among the few surfaces on which to avoid using a petroleum-based product like
In addition, the MSDS data adds a warning about rubber parts:
Surface Cautions Nearly all surfaces interact with WD-40 as they would any high grade aliphatic petroleum spirit. Certain types of rubber will swell upon prolonged immersion. Wax polishes and certain wax coatings may be softened by WD-40. Clear polycarbonate and polystyrene may stress craze or crack. Always test surfaces first.