CVE-2026-40522
HighCVSS 7.1Summary
FrontAccounting before version 2.4.20 contains a SQL injection vulnerability in the Bank Statement report handler. An authenticated attacker can inject UNION SELECT payloads into the PARAM_0 POST parameter, extracting arbitrary database data including usernames, password hashes, and email addresses, which are then rendered into PDF report output.
Risk Assessment
The risk involves theft of sensitive authentication data (usernames, password hashes) and email addresses, potentially leading to privilege escalation, account takeover, and breach of system confidentiality.
Recommendation
Immediately upgrade FrontAccounting to version 2.4.20 or later. If upgrading is not possible, temporarily restrict access to the bank statement report module to trusted administrators only.
Original NVD description (English source)
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.

