Officers responded to an activation of the Shot Spotter gunshot detection system at 2535 Farrington St. at about 10:05 p.m., according to East Palo Alto police.
Arriving officers found an 18-year-old Menlo Park man suffering from a gunshot wound in the front yard, police said.
He told police that another shooting victim was inside the house, police said.
During a search of the residence, police found a 19-year-old East Palo Alto man who had been shot.
The two victims were taken to a hospital with injuries that were not life threatening, police said.
A preliminary investigation revealed that two gunmen had walked up and fired as many as 30 rounds into the house, police said.
The shooters fled on foot and were possibly picked up by a dark sedan.
No arrests have been made.
Anyone with information about the shooting is asked to contact the East Palo Alto police tip line at (650) 409-6792.