Is all MDF moisture resistant?

No, not all MDF is moisture-resistant, it can be identified by its green colour. Whatever MDF used should not be submerged in water because it’s not waterproof and can still swell and warp.