Under the concepts of sustainable development and a sharing economy, the ESG performance of platform enterprises has played a significant role in measuring the operating status and responsible investment of platform enterprises. Platform enterprises have different typical characteristics from traditional enterprises. The mechanisms of ESG and financial performance needs to be further explored. The empirical analysis finds that: (1) the ESG performance of platform enterprises and its S index and G index has a positive impact on corporate financial performance. (2) Media attention plays a positive moderating role between the ESG and ROA. (3) Platform data governance and platform reputation governance are two internal and external paths for platform enterprises’ ESG performance to improve financial performance. (4)There is heterogeneity in the relationship between ESG and ROA in terms of platform enterprise scale and platform type. Based on the above conclusions, this paper provides reference experience for the ESG governance and value creation of platform enterprises.