{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "647a18196caad27f96ea852e993c9e30f815357f"
            }
          ],
          "repo": "https://github.com/frontaccountingerp/fa",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40523.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "2.4.20"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "2.4.20"
          }
        ],
        "source": "CPE_FIELD"
      },
      {
        "extracted_events": [
          {
            "fixed": "2.4.20"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "FrontAccounting before 2.4.20 contains a SQL injection vulnerability in the Audit Trail report handler that allows authenticated attackers with SA_GLANALYTIC permission to execute arbitrary SQL queries by injecting malicious code into the PARAM_2 and PARAM_3 POST parameters. Attackers can exploit time-based blind SQL injection through SLEEP() functions that are amplified across JOIN result sets to cause denial of service by exhausting database connections, or extract arbitrary database content through UNION-based injection techniques.",
  "id": "CVE-2026-40523",
  "modified": "2026-07-16T03:31:16.704276156Z",
  "published": "2026-06-29T12:29:10.512Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40523.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40523"
    },
    {
      "type": "ADVISORY",
      "url": "https://sourceforge.net/p/frontaccounting/news/2026/04/release-2420/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/frontaccounting-sql-injection-via-reporting-rep710-php"
    },
    {
      "type": "FIX",
      "url": "https://github.com/FrontAccountingERP/FA/commit/647a18196caad27f96ea852e993c9e30f815357f"
    },
    {
      "type": "EVIDENCE",
      "url": "https://jivasecurity.com/writeups/frontaccounting-sqli-audit-trail-report-cve-2026-40523"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "FrontAccounting \u003c 2.4.20 SQL Injection via reporting/rep710.php"
}