PerfreeBlog's Pagination Injection and Missing Authorization Compress the Path to Admin Data
PerfreeBlog's Pagination Injection and Missing Authorization Compress the Path to Admin Data Three CVEs published for PerfreeBlog describe security problems in its backend pagination and code-generation paths. CVE-2026-139980 and CVE-2026-139982 are SQL injection issues. CVE-2026-139981 is a missing-authorization problem that can disclose database schema information. How the injection is reached…
Three separate security vulnerabilities were found in the PerfreeBlog platform, affecting its backend pagination and code generation mechanisms. The first two vulnerabilities, CVE-2026-139980 and CVE-2026-139982, are both SQL injection flaws. The third issue, CVE-2026-139981, relates to missing authorization checks that could expose database schema information.
In the case of the SQL injection vulnerabilities, attackers can manipulate the sortingFields[].field parameter in several backend pagination endpoints that rely on authentication without verifying whether a user has the necessary permissions. Since open registration is enabled by default, a user who registers themselves can obtain a token and reach the shared sort-construction logic.
The injected field value is then concatenated into an SQL ORDER BY clause, allowing attackers to extract or modify data through time-based attacks.
The missing authorization vulnerability (CVE-2026-139981) further complicates the situation, as it allows unauthorized users to reach the endpoint. The lack of proper authorization checks means that even if a user's query is technically correct, they may still be able to access and exploit backend data if they have gained entry.
To address these vulnerabilities, users of PerfreeBlog should upgrade to a version that includes the vendor-provided fixes for all three CVEs. If an upgrade is not feasible, users should disable open registration, restrict backend routes through a reverse proxy, and limit access to trusted administrators. In addition, developers should use parameterized sort fields or map user input to a fixed allowlist, never passing raw column names directly into ORDER BY clauses.
Finally, endpoint-level authorization tests should be added to verify that ordinary registered users cannot exploit the vulnerable paths.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to