Thank you for your question.
I don't see any cause for worry about this. However an examination by a doctor to know the cause is a must. This is most likely an epidermoid cyst on the scrotum. Such cysts may be found on the scrotum and contain a cheesy yellow material. However your doctor needs to rule out other causes as well by doing an examination. If this is indeed an epidermoid cyst then a simple and effective surgical procedure may be done which removes the cyst wall and the cheesy material inside the cyst.
It is a privilege answering your question.
Please let me know if you have further queries or unanswered questions.
Please rate the answer with a positive rating of 5 stars, because this is the only way we experts are credited and compensated for our time and work.
Wishing you all the very best in life.
May you be happy, successful, and healthy.