SQL Injection in Frontaccounting
CVE-2026-40522
- CVSS v3
- 7.1 High
- Public exploits
- None known
- EPSS
- 0.002 · 14.2th percentile
- Published
- 2026-06-29
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.002, 14.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Frontaccounting — versions 0, 894adaf71393e0ef6a04fe6036fcd2464050f590
Weakness classification (CWE)
References
- jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-4… (technical-description, exploit)
- sourceforge.net/p/frontaccounting/news/2026/04/release-2420/ (release-notes)
- github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590 (patch)
- www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php (third-party-advisory)