Problem for Website URLs

Hi
I am facing the issue with Cscart Multivendor product & Category Non SEO Friendly URLs.

I am using the Cscart Multi-Vendorv4.18.2.SP1 with Unitheme2 v4.18.2.a

I have Approximate 26K products and 1.5K Categories. But when I crawl the website with screaming Frog SEO Audit Tool, I found approximate 5Lakh Urls.

This is Affecting the overall website SEO Performance and this seems a big problem in cscart.

Problem is when the Google bot or any other bot crawl the pages. It finds lot of Non SEO friendly Page. Which are not good for website to range in Search Engin Results.

I also crawled the another two shopify website. Where I did not get this type of problem. Shopify Website URLs were clean.

I am using the SEO Module. But not able to understand from where bot is getting these dynamic URLs while crawling.

These problematic URLS Structure are below. Please suggest how to fix them

www.example.com/index.php?dispatch=products.view&product_id=8709

www.example.com/vendor-seo-name/?category_id=114

www.example.com/product-seo-name/?features_hash=26-112599

www.example.com/index.php?dispatch=product_features.add_product&product_id=31967&redirect_url=index.php%3Fsl%3Dfr%26dispatch%3Dcategories.view%26category_id%3D669%26page%3D6

www.example.com/index.php?dispatch=product_features.add_product&product_id=15323&redirect_url=index.php%3Fsl%3Dfr%26dispatch%3Dcategories.view%26category_id%3D1494

www.example.com/index.php?features_hash=26-169507&dispatch=categories.view&category_id=1603

www.example.com/index.php?dispatch=attachments.getfile&attachment_id=569

www.example.com/index.php?dispatch=categories.view&category_id=858&features_hash=26-168144

www.example.com/auth-loginform/?return_url=index.php%3Fsl%3Dfr%26dispatch%3Dproducts.view%26product_id%3D22789

www.example.com/login/?return_url=index.php%3Fsl%3Den%26dispatch%3Dcategories.view%26category_id%3D577%26page%3D2

www.example.com/category-seo-name/?show_not_found_notification=0

Please suggest the fix if you know.
Regards