BuzzPHP
LightDarkSystem

FacturaScripts: Account takeover of any 2FA-enabled user

Critical severity. Published 13 July 2026. Update facturascripts/facturascripts to 2026.3 or later: composer update facturascripts/facturascripts.

Which versions are affected?

PackageAffected versionsFixed in
facturascripts/facturascripts (opens in a new tab)<= 2026.22026.3

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show facturascripts/facturascripts
composer audit

Advisory details

SeverityCritical
Published
Updated
CVECVE-2026-47677 (opens in a new tab)
GHSAGHSA-c67f-gmxw-mj93 (opens in a new tab)
WeaknessCWE-287

What the advisory says

Authentication bypass in FacturaScripts: /login?action=two-factor-validation accepts brute-forceable TOTP without password or CSRF protection

Summary

Core/Controller/Login.php::twoFactorValidationAction() accepts an unauthenticated POST containing only fsNick and fsTwoFactorCode. If the TOTP value matches, the server issues a full fsNick + fsLogkey session cookie pair. The handler:

1. Does not verify the password — the user is not required to have just completed loginAction. 2. Does not call validateFormToken() — no CSRF token is required (every other action handler in the same file does call it). 3.

Source: GHSA-c67f-gmxw-mj93 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories