CVE-2026-40522
Description
FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the Bank Statement report handler that allows authenticated attackers to extract arbitrary database data by injecting UNION SELECT payloads into the PARAM_0 POST parameter. Attackers can supply malicious SQL syntax through the unparameterized WHERE clause to retrieve sensitive information including usernames, password hashes, and email addresses from the users table, rendered into PDF report output.
How to fix
- FrontAccounting FrontAccounting2.4.20 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| FrontAccounting FrontAccounting | v < 2.4.20 | 2.4.20 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.