# CVE-2026-40522

## Summary

- **CVE ID:** CVE-2026-40522
- **Severity:** HIGH
- **CVSS Score:** 7.1 (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N)
- **CWE:** CWE-89, CWE-916
- **Published:** Jun 29, 2026
- **Last Modified:** Jul 14, 2026

## 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.

## Affected Products

- FrontAccounting — FrontAccounting (0)
- FrontAccounting — FrontAccounting (894adaf71393e0ef6a04fe6036fcd2464050f590)

## References

- [CNA](https://jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-40522)
- [CNA](https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/)
- [CNA](https://github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590)
- [CNA](https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.23%
- **EPSS Percentile:** 14.1

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-11._