According to Medium, you own the rights to the content you create and publish on their platform. This includes the risks that come with it (content's accuracy & claim of intellectual property). Medium does also not sell your content to third parties without permission. However, the platform does use your content for promotional purposes and is able to remove your content for no particular reason.