The only one that might be a risk, and it's a small one, is fingering a man's ass if you had cuts on your finger. There is something called herpetic whitlow, which is herpes on the finger, and normally hands don't transmit STIs, but if you had cuts, the virus could penetrate the skin.
This is an uncommon condition, but could happen if someone had genital herpes. It's far more likely if they had an active outbreak anally at the time you fingered them.
Since this seems to be a theoretical question - "with or without small cuts" - I wouldn't worry about it. You'll know if you get this - it's very obvious and very painful.
Hi,
No more than a theoretical risk for any or all STI, from what you have wrote.
If this happened I wouldn’t worry at all.