After checking this website and other, I have found that these claims come from Radio Free Asia and others citing these so I am not sure. Haven't found good sources talking about this.
Source: https://moderntokyotimes.com/new-president-of-iran-linked-to-past-executions-of-communists-socialists-and-others/
The election result in Iran for a new president is a grim reminder that ultra-conservative Shia power concentration is in full swing. This concerns the new president being linked to the mass executions of 1988. These executions exceeded several thousands of people – some site tens of thousands – when the Iranian ultra-conservative clergy sought to crush all dissent. Hence, the electoral success of Ebrahim Raisi is bound to raise questions internationally.
Is this true or can I safely dismiss it?
Usually assuming the opposite of anything RFA says is a safe bet. If they had a weather section and told me it was sunny today, I would pack an umbrella.
EDIT: I have also never heard of Modern Tokyo Times despite living in Japan. Though at a glance I see...a single author that just reposts other articles. Doesn't really inspire confidence.