While there is an apparent relationship between gravity, mass and space time curvature, the theory that they cause each other hasn't been proven.
But as someone already mentioned, it is reasonable to assume that ST curvature bends practically everything, including massless items.
But as someone already mentioned, it is reasonable to assume that ST curvature bends practically everything, including massless items.