CVE-2026-23476
MediumCVSS 5.4Exploitation Probability (EPSS)
Low risk23th percentile - higher than 23% of all known CVEs
Summary
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.
Risk Assessment
The vulnerability allows execution of arbitrary JavaScript in the user's browser, potentially leading to session data theft or actions on behalf of the user.
Recommendation
Update FacturaScripts to version 2025.8 or later, which fixes this vulnerability.
Other vulnerabilities in FacturaScripts
See all- 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.
Original NVD description (English source)
FacturaScripts is open-source enterprise resource planning and accounting software. Prior to 2025.8, there a reflected XSS bug in FacturaScripts. The problem is in how error messages get displayed. Twig's | raw filter is used, which skips HTML escaping. When triggering a database error (like passing a string where an integer is expected), the error message includes the input and gets rendered without sanitization. This vulnerability is fixed in 2025.8.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

