A driver and his passenger “narrowly escaped injury” after their windscreen was damaged when an object was hurled at their van.