Bariss dies on Felucia in Order 66.
In Legends continuity, yes. However in the current canon there’s no story explaining how she died. Her last chronological appearance had her imprisoned on Coruscant after she was involved with a bombing at the Jedi Temple.
There’s a lot of fan theories that she became an Inquisitor after order 66, so it’s possible that she’s alive during the OT or the events of The Mandalorian. Since she and Ahsoka were close friends before her betrayal there’s a lot of potential stories to be told in future series (or at least in some novel or comic).