CVE-2026-80210: FrontAccounting through 2.4.20 Cross-Site Request Forgery on Financial Transaction Forms

Published Aug 27, 2026
·
Updated

FrontAccounting through 2.4.20 generates a CSRF token in endform() in includes/ui/uicontrols.inc and embeds it as the token hidden field in every form it renders, but only admin/users.php and admin/changecurrentuserpassword.php call checkcsrftoken() to validate it. No financial transaction handler validates the token, including gl/gljournal.php, gl/glbank.php, purchasing/supplierinvoice.php, sales/customerinvoice.php, sales/customerpayments.php and admin/companypreferences.php, so those endpoints act on POST data with no origin check. An attacker who gets an authenticated user to load a page under attacker control can auto-submit a cross-origin form to any of them and have the forged journal entry, invoice, customer payment, bank transaction or company configuration change recorded under the victim's session.

Affected Software

1 affected component
FrontAccounting<=2.4.20

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FrontAccounting to a version that resolves this vulnerability.

    Fixed in 2.4.20
  2. Configuration

    Ensure every endpoint that processes POST data from financial transaction forms validates the CSRF token by calling check_csrf_token() (not only in admin/users.php and admin/change_current_user_password.php as described).

    FrontAccounting (CSRF protection) check_csrf_token() = enabled for all financial transaction form handlers (e.g., gl/gl_journal.php, gl/gl_bank.php, purchasing/supplier_invoice.php, sales/customer_invoice.php, sales/customer_payments.php, admin/company_preferences.php)

Event History

Aug 27, 2026
CVE Published
via MITRE·02:50 PM
Data Sourced
via MITRE·02:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:20 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Any authenticated FrontAccounting user who can be induced to load attacker-controlled content is exposed. The forged action is performed under that user's active session and permissions.

2

Are financial transaction forms protected by the application's existing CSRF token?

No. Although FrontAccounting renders a _token hidden field in forms, the described financial transaction handlers do not validate it; validation is called only by admin/users.php and admin/change_current_user_password.php.

3

What actions can an attacker forge?

The affected handlers include journal entries, bank transactions, supplier invoices, customer invoices, customer payments, and company preference changes. A cross-origin POST can cause the selected action to be recorded in the victim's session.

4

Does exploitation require an attacker to authenticate to FrontAccounting?

No attacker account or privileges are required. The attacker needs to cause an already authenticated user to load a page that auto-submits a cross-origin form to an affected endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203