Bacterial vaginosis is not an STI, even though it can be triggered by sex. A woman can pass it to another woman during sex. You're more likely to get an STI if you have bacterial vaginosis. This may be because it makes your vagina less acidic and reduces your natural defences against infection.