A hazmat team responded to the area of Drayton Street and Railroad Avenue after a 911 call around 5:30 a.m.
[Ads /]
About 20 gallons were reportedly spilled.
Nine people were treated and seven of them went to a hospital, according to the Los Angeles County Fire Department.
It's unclear what caused the spill, but it's since been contained.
[Ads /]
The Metrolink's Antelope Valley Line was temporarily closed between Santa Clarita and Newhall during the incident.