WordPress · Joomsport – For Sports: Team & League · CVE-2022-2718
**Name of the Vulnerable Software and Affected Versions**
JoomSport – for Sports: Team & League, Football, Hockey & more plugin for WordPress versions up to, and including, 5.2.5
**Description**
The issue allows authenticated attackers with administrative privileges to perform SQL Injection via the `orderby` parameter on the "joomsport-page-extrafields" page. This is due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query, making it possible to extract sensitive information from the database.
**Recommendations**
For versions up to, and including, 5.2.5, consider disabling access to the "joomsport-page-extrafields" page or restricting the use of the `orderby` parameter until a patch is available. As a temporary workaround, restrict administrative privileges to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.