htaccess – sitemap contains weird links and does not contain my pages

I was about to submit my wordpress auto-generated sitemap to Google Search Console but I realized my sitemap contains weird links and it doesnt contain any of my actual pages. I checked example.com/sitemap.xml and example.com/wp-sitemap.xml and example.com/sitemap_index.xml. They all contain different weird links like :

<url>
<loc>https://example.com/armrests71n79/jsxc93911899.htm</loc>
</url>
<url>
<loc>https://example.com/ferocebotc/iq39894629.htm</loc>
</url>
<url>
<loc>https://example.com/hairspraysp6/ekqpmh46441760.htm</loc>
</url>

And this is just 3 of them. There are almost 1000 links like this and my site actualy has just 27 pages.
Extra information:

  1. I recieved an htaccess attack in the past. At that times, my website was not wordpress and it was down because of that attack. After that I build the site with wordpress and it didnt go down anymore.
  2. Some of the link in my sitemap redirects to weird websites. One of them redirects to a Japanese e commerce website
  3. When I use a rondom sitemap generator (not plugin, from rondom websites) , they give the correct sitemap with 27 actual pages
  4. I have tried plugins Yoast SEO, All In One Seo and got same result