If you are still dealing with wordpress security nightmares - give hatamoto (1) a try.. Go CMS, HTMX , no node, single binary, postgresql, apache 2.0, built in AI analytics and runs on a $5 server with memory to spare.
1. https://hatamoto.dev