Mangosteen itself can secrete yellow substances, most likely because the fruit is squeezed in the process of picking or transportation, it will rub the skin, resulting in the secretion of yellow substances, which can be completely assured, will not be harmful to human body, but the exposure of the broken skin for too long will definitely have an impact on freshness and taste.
Not fully mature mangosteen will also have yellow pulp, no harm, can eat, but the taste is certainly not as delicious as ripe, will be very astringent, when you choose to see the peel, purple black is ripe.
There are yellow pulps and seeds that may have been put for too long, which leads to the deterioration of the pulp. They are not fresh enough. They will taste bitter. If they taste bitter, don't eat them. At least the bitter one can't be eaten. If you peel off the yellow one or the white one, you can still eat it. But if the shell is also soft, you'd better throw it away