There is an anti-syphon valve in the headlamp washer line that can seize or let by, IIRC it will be found behind the bumper.
If you don't fancy taking it all apart you can simply insert any cheap one way valve in the outlet line from the washer tank, can be sorted in less than 10 minutes.