At least two foreign security personnel were wounded in an attack on a US consulate vehicle in the western Afghan city of Herat on Wednesday, officials said.