Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd246
- https://jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve
- https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/
- https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-ph
FAQ
What is CVE-2026-40522?
CVE-2026-40522 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 SELE...
How severe is CVE-2026-40522?
CVE-2026-40522 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40522?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.