I agree with fbsf, it is not a good idea to leave wort in this state for a prolonged length of time. If you have no alternative then make sure you have sparged out at a reasonably high temperature to kill off most of the microbe activity and make sure the wort is at a suitable PH (low 5s) which will inactivate most microbes.
There is a microbiological balance that exists throughout the process from growing the barley, steeping, malting and mashing. Microbes such as Lactic Acid Bacteria (LAB) are very prevalent - this is not a bad thing as LAB tend to keep harmfull bacteria away. What you are left with at the end of the mash is an environment which changes the effect of the microbes (they now have warmth and lots and lots of fast food). LAB will produce lactic acid for instance, other bacteria generate DMS and Diacetyl, all of which will adversely affect the final taste. During wort boiling these microbes are either destroyed or deactivated even LAB, which can survive heat quite well, do not survive the chemicals provided by hops.
Therefore it is important to get straight on with the boil as soon as mashing / sparging is over in order to give microbes as little oppourtunity as possible to produce off tastes that remain even after boiling and fermentation.