CVE-2026-40522

FrontAccounting < 2.4.20 SQL Injection via rep601.php

State
Published
Severity
7.1 High
Published
Jun 29, 2026
Updated
Jul 14, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.1 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:NVulnCheck

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-916 Use of Password Hash With Insufficient Computational Effort

Affected Products

ProductVersions
FrontAccountingFrontAccounting
  • before 2.4.20Affected
  • 894adaf71393e0ef6a04fe6036fcd2464050f590Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.