f a girl got gonorrhea and chlamydia from vaginal intercourse from her last partner, could she trans

Pretty much what the title says. Suppose a girl got those infections from her last partner but only did vaginal intercourse, what are the chances of transmitting them through anal intercourse?

some stds can be caught threw anal sex hiv
chlamydia and gonorrhea live in the anus if any contaminated fluid has gone in there there is always a risk that it could be passed on as the anus is quite close to the vagina

and even if she didnt have an infection in the anus like i said above vaginal discharge could leak around during anal intercourse with the vagina being close by hope that helps