An exoplanet has managed to stay in a stable orbit around LX Serpentis despite the fact that it is a cataclysmic binary star system with a chaotic past.