They also size using American labels so it's not very clear. I bought some running shorts in the Summer and went for a medium - I'm a size 8.
Do you have boobs? If you don't want clingy and have boobs go for medium if you don't have boobs get a small I'd say
I'd go for small then tbh I'm not even sure why you are asking about a medium