The woman you're in love with was honest enough to tell you her past and even give enough details for you to know her ex works in the same company as you.
Okay, so you hate her ex guts. You hate the fact that he sleeps with virtually any woman he can lay his hands on.
I guess you're disturbed that this 'sleeze fellow' has also slept with the woman you're in love with . . . and for eight years.
But as you rightly said, "the past is past". So, concentrate on the present.
Now some questions for you to consider:
1. Does the fact that she had a relationship with this sloopy man in the past affect you to the point where you feel cheated and cannot proceed with the relationship?
2. Do you still value her and respect her since you found out whom her ex is?
Her ex behaviour has nothing to do with her. Perhaps that was one of the reasons they broke up in the first place.
My advice is . . . weigh your feelings carefully and make a decision based on your long-term happiness and hers.
Your post makes it appear as if you're likely to have more problems in your office if her ex finds out you're dating her.
If that is the case, it is yet another factor to consider as you decide what to do next.
If you truly love her, you may wish to pay the price of love and stick with her despite the problems you may face.
First assess your feelings correctly. And then do what's right in the circumstances.