FacturaScripts vulnerabilities
19 known CVE vulnerabilities in FacturaScripts, translated and rated.
- CVE-2026-77526Critical
In FacturaScripts, UploadedFile::move() concatenates the destination path with the client-supplied filename without normalization. An authenticated user can submit a filename containing ../ segments to write files outside MyFiles/, and in directories served directly by Apache (Dinamic/Assets/, node_modules/) this escalates to remote code execution.
- CVE-2026-47677Critical
FacturaScripts before version 2026.3 contains an authentication bypass in /login?action=two-factor-validation that accepts brute-forceable TOTP without a password or CSRF protection. This allows an attacker to bypass the second authentication factor.
- CVE-2026-45262Critical
FacturaScripts before version 2026.2 in Core/Where.php::sqlColumn() exempts field names containing both ( and ) from identifier escaping. The API filter builders feed the raw request key into DataBaseWhere, allowing an attacker to inject SQL conditions and perform UNION SELECT to leak arbitrary columns from tables.
- CVE-2026-77530Medium
In FacturaScripts before 2026.5, the ListCuenta restore-special action overwrites the special-accounts mapping (cuentasesp) without an authorization re-check and without an anti-CSRF token. Any non-admin with ListCuenta page access can invoke it, or an admin can be tricked via CSRF.
- CVE-2026-77529Medium
In FacturaScripts before 2026.2, EditEmailSent::getHtmlAction returns the stored EmailSent::html value through Tools::fixHtml(), reversing HTML-entity escaping. On the browser side, a hand-rolled regex sanitizer (limpiarJS) fails to strip many XSS payloads, which execute in the administrator's session context.
- CVE-2026-45710Low
In FacturaScripts before 2026.2, WidgetVariante::renderVariantList and WidgetSubcuenta::renderSubaccountList concatenate the user-controlled referencia/codsubcuenta field into a JavaScript string literal inside an onclick attribute. HTML entities are decoded before JavaScript parsing, so an apostrophe in the value enables script execution (XSS) when the variant-picker modal is opened.
- CVE-2026-45693High
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, the static file controllers decide whether a request is authorized by looking at the URL string instead of the canonical filesystem path. A request that starts with an allow-listed folder name but contains a ../ segment in the middle ends up serving a file from a different directory than the one the URL pretended to point at. This makes any file inside the FacturaScripts installation readable without authentication as long as the file's extension is on the controllers' allow-list (pdf, xlsx, docx, csv, sql, zip, xml, json, xsig, etc.).
- CVE-2026-45263High
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Lib/Export/CSVExport.php::writeData() wraps every cell in the configured delimiter (") and concatenates without inspecting the first character of the value. Spreadsheet applications interpret a cell that starts with =, +, -, @, \t, or \r as a formula. Because FacturaScripts only sanitises HTML metacharacters (< > " ') on save via Tools::noHtml(), the formula prefix characters survive untouched all the way to the export. The downstream consumer is the admin who triggered the export, giving the attacker a reliable handoff: a low-priv user plants a payload in any text field that ships in the default list export, the admin downloads the CSV, and the admin's spreadsheet client runs the formula in the admin's local context.
- CVE-2026-11960Medium
Enumeration of unauthenticated users in FacturaScripts, version 2025.61. The application returns different responses when attempting to log in with a valid username compared to an invalid one. An unauthenticated attacker could systematically identify valid usernames by examining variations in the application's responses, such as changes in response time, discrepancies between error messages or differences in HTTP status codes.
- CVE-2026-11959Medium
A Stored Cross-Site Scripting (XSS) vulnerability exists in FacturaScripts version 2025.61 due to insufficient validation or sanitisation of user input in the 'city' and 'province' fields in the 'ListAlmacen' endpoint. Successful exploitation could allow an attacker to execute arbitrary JavaScript in the victim's browser or escalate privileges from a normal user to an administrator.
- CVE-2026-104905High
FacturaScripts before version 2026.7 contains a PHP object injection vulnerability in WidgetSelect::processFormData() that allows authenticated attackers to trigger unserialize() on raw POST data without an allowed_classes filter for multiple-select fields. Attackers can submit a serialized XLSXWriter object as the field value to invoke its __destruct() method, deleting arbitrary attacker-specified files such as config.php or backup data, resulting in denial of service and potential application reinstall hijack.
- CVE-2026-42879Medium
FacturaScripts is an open source accounting and invoicing software. In 2025.81 and earlier, an authenticated unrestricted file upload vulnerability exists in the product image upload functionality. An attacker with valid credentials can upload a PHP file disguised as a GIF image (using a GIF89a header), bypassing MIME type validation; the file is stored with its original extension, including executable .php. The vulnerability exists in the addImageAction() method of Core/Lib/ExtendedController/ProductImagesTrait.php.
- CVE-2026-42878Medium
FacturaScripts is an open source accounting and invoicing software. Prior to v2026, an unauthenticated information disclosure vulnerability in the Installer controller allows any remote attacker to trigger phpinfo() on a fresh deployment by requesting /?phpinfo=TRUE, exposing full PHP configuration, server environment variables (including database credentials, API keys, and application secrets), filesystem paths, and loaded extensions without authentication.
- CVE-2026-27964Low
FacturaScripts up to version 2025.7 has a Reflected XSS vulnerability via the fsNick cookie parameter. The cookie value is reflected in HTML without sanitization, allowing script execution before redirect. Fixed in version 2025.8.
- CVE-2026-27892Medium
FacturaScripts before version 2026 stores and serves uploaded images without stripping EXIF/XMP/IPTC metadata. Authenticated users can download an image and extract the uploader's personal data such as GPS coordinates, device information, and timestamps.
- CVE-2026-27891High
FacturaScripts versions 2026 and below contain a critical vulnerability in the Plugins::add() function that fails to properly validate file paths within uploaded ZIP archives. This allows a Zip Slip attack, leading to arbitrary file write and remote code execution (RCE) by overwriting sensitive .php files outside the plugins directory.
- CVE-2026-32699Medium
FacturaScripts up to version 2025.92 fails to validate the 'nick' parameter during a POST request to the EditUser controller. Although the UI prevents editing this field, an attacker can intercept the request and modify the parameter to rename any account, including the administrator.
- CVE-2026-23476Medium
FacturaScripts is open-source enterprise resource planning and accounting software. Prior to 2025.8, there is a reflected XSS bug in how error messages are displayed. Twig's | raw filter is used, which skips HTML escaping, and error messages include input rendered without sanitization.
- CVE-2025-69210Medium
FacturaScripts prior to version 2025.7 contains a stored cross-site scripting (XSS) vulnerability in the product file upload functionality. Authenticated users can upload crafted XML files containing executable JavaScript, which are later rendered without sufficient sanitization or content-type enforcement.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

