CVE-2026-40522
FrontAccounting before 2.4.20 contains a SQL injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590
- jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-40522
- sourceforge.net/p/frontaccounting/news/2026/04/release-2420/
- www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php
- nvd.nist.gov/vuln/detail/CVE-2026-40522
- cve.org/CVERecord?id=CVE-2026-40522
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.