FrontAccounting < 2.4.20 SQL Injection via rep601.php
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40522
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:15 UTC · Revision 1
Source evidence
FrontAccounting < 2.4.20 SQL Injection via rep601.php
core-osv · Original sourcePublished 29 Jun 2026, 12:29 UTC
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.
osv:CVE-2026-40522
Complete source record
{
"id": "7e6a7ca66fd2ae905f79241bc1f1cb1ff807a3b597a6e6c40557d0c38d677149",
"url": "https://osv.dev/vulnerability/CVE-2026-40522",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "FrontAccounting < 2.4.20 SQL Injection via rep601.php",
"summary": "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.",
"evidence": "osv:CVE-2026-40522",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-40522",
"aliases": [
"CVE-2026-40522"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/frontaccountingerp/fa",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "894adaf71393e0ef6a04fe6036fcd2464050f590"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "894adaf71393e0ef6a04fe6036fcd2464050f590"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40522.json"
}
}
],
"modified": "2026-10-28T02:30:29.218508003Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40522.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40522",
"https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/",
"https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-rep601-php",
"https://github.com/FrontAccountingERP/FA/commit/894adaf71393e0ef6a04fe6036fcd2464050f590",
"https://jivasecurity.com/writeups/frontaccounting-sqli-bank-statement-report-cve-2026-40522"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89",
"CWE-916"
],
"cna_assigner": "VulnCheck",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "2.4.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.4.20"
}
],
"source": "CPE_FIELD",
"strategy": "CPEApplicability"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "2.4.20"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40522.json"
}
},
"related_cves": [
{
"value": "CVE-2026-40522",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496287,
"published_at": "2026-06-29T12:29:40.825+00:00"
}