Two suspects were detained after a woman was stabbed on a MUNI train in San Francisco, authorities said Tuesday.