Yes it’s cheating. You don’t need to end the relationship over it. There’s a very good chance that they’re attracted to each other, but perhaps not. I’d say that she should distance herself from the friend out of respect at least for a while. If she’s unwilling to do that then it may be time to consider ending the relationship because it shows a lack of respect for you.