Had a house that had been burgled 6 months prior to us putting it up for sale. We didn't disclose it UNTILL as part of their solicitors enquiries they asked if we'd made any claims for insurance. We had, a figure above £20,000 - a substantial amount, that we couldn't (and wouldn't) not disclose. So the buyer found out that way.
He was jittery... But continued with the purchase as long as we left behind the top of the range CCTV system that we'd installed after the incident.
When we bought a house 2 months later we asked the vendors if they'd been burgled as part of our solicitors enquiries. They said no, tbh it wouldn't have put us off, but it would have made us put security changes as a priority (monitored burglar alarm/ new CCTV etc).
Tbh I personally think our old house was vulnerable to that sort of thing... Not overlooked, opposite forest land, large patio doors which aren't overlooked... Plus, we had issues with our post being pulled out of our letterbox when the postman hadn't pushed it in, car broken into (we didn't claim for that, so didn't disclose it) so buyer beware...