The Rest Routes WordPress plugin through 5.5.5 does not sanitize and validate a value taken from the URL of one of its public REST routes before using it in a SQL query, allowing unauthenticated attackers to perform SQL injection attacks.
Credits
Pablo González Pérez
Francisco José Ramírez Vicente and Iñigo Sánchez Enciso