BuzzPHP
LightDarkSystem

FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export

High severity. Published 14 July 2026. Update facturascripts/facturascripts to 2026.2 or later: composer update facturascripts/facturascripts.

Which versions are affected?

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

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

SeverityHighCVSS 8
Published
Updated
CVECVE-2026-45263 (opens in a new tab)
GHSAGHSA-2p5x-4jr6-x5jg (opens in a new tab)
WeaknessCWE-1236

What the advisory says

Summary

Live PoC verified 2026-04-30 against a stock FacturaScripts master at 127.0.0.1:8081. A low-privilege user (lowpriv) created a customer with nombre = "=SUM(1+1)cmd|/c calc!A1". An admin then exported ListCliente to CSV via ?action=export&option=CSV. The downloaded file contains the raw payload as the first cell of the nombre column, with no leading single quote and no escape. Excel and LibreOffice will execute the formula on open, including DDE invocations such as =cmd|'/c calc'!A1 that spawn arbitrary processes on the admin workstation.

Source: GHSA-2p5x-4jr6-x5jg (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