CVE-2026-7472
A time-based blind SQL injection vulnerability exists in the Read More & Accordion WordPress plugin (versions up to and including 3.5.7). The flaw resides in the `getAllDataByLimit()` and `getAccordionAllDataByLimit()` functions within `ReadMoreData.php`, where user-supplied input via the `orderby` parameter is improperly sanitized before being concatenated into an ORDER BY clause. The code applies `esc_sql()` to the value but fails to enclose it in quotes, rendering the escaping ineffective for this context. Additionally, the input passes through `esc_attr()`—an HTML-escaping function—before reaching the database functions, providing no SQL injection protection. Because `esc_sql()` only escapes quote characters and backslashes, attackers can inject arbitrary SQL expressions directly into the ORDER BY clause. This enables time-based blind SQL injection attacks using expressions like `(SELECT SLEEP(5))` or conditional subqueries for data extraction. The vulnerability requires authentication with administrator-level privileges or access explicitly granted through the plugin's `yrm-user-roles` setting. Successful exploitation could lead to extraction of sensitive database contents, including administrator password hashes. The vulnerability was disclosed on 2026-05-20 and carries a CVSS 3.1 score of 4.9 (Medium severity).