3.9low
FacturaScripts: Reflected Cross-Site Scripting (XSS) via Cookie Manipulation
- Severity
- 3.9low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.10% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gq5c-rw37-g46c
Description
FacturaScripts is an open source accounting and invoicing software. Versions 2025.7 and prior contain a Reflected Cross-Site Scripting (XSS) vulnerability through the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization. The fsNick cookie is rendered into the DOM without encoding. While the server does reject the modified session and forces a logout, the HTML containing the payload reaches the browser first. This lets the script execute immediately upon load, effectively beating the redirect. This issue has been fixed in version 2025.8.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NeoRazorX facturascripts | < 2025.8 | CVE List |
| facturascripts/facturascripts (Packagist) | before 2025.8, from 2025.11 before 2025.81 | GitHub Advisory Database |
All scores
| GitHub_M | 3.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.9low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
FacturaScripts is an open source accounting and invoicing software. Versions 2025.7 and prior contain a Reflected Cross-Site Scripting (XSS) vulnerability through the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization. The fsNick cookie is rendered into the DOM without encoding. While the server does reject the modified session and forces a logout, the HTML containing the payload reaches the browser first. This lets the script execute immediately upon load, effectively beating the redirect. This issue has been fixed in version 2025.8.
GitHub Advisory Database
Summary
A Reflected Cross-Site Scripting (XSS) vulnerability exists in the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization.
Details
The fsNick cookie is rendered into the DOM without encoding. While the server does reject the modified session and forces a logout, the HTML containing the payload reaches the browser first. This lets the script execute immediately upon load, effectively beating the redirect.
PoC
-
Log in to the application with any valid account.
image -
Capture any the GET request .
image -
Modify the value of "fsNick" with the following JavaScript:
<script>alert(window.origin)</script> -
Send the modified request.
image -
Result
image
Impact
The payload executes before the session ends, which could potentially allow for a single unauthorized action before the logout.
NVD (es)
FacturaScripts es un software de contabilidad y facturación de código abierto. Las versiones 2025.7 y anteriores contienen una vulnerabilidad de cross-site scripting (XSS) reflejado a través del parámetro de cookie fsNick. La aplicación refleja el valor de la cookie directamente en el HTML sin sanitización. La cookie fsNick se renderiza en el DOM sin codificación. Aunque el servidor rechaza la sesión modificada y fuerza un cierre de sesión, el HTML que contiene la carga útil llega primero al navegador. Esto permite que el script se ejecute inmediatamente al cargar, superando eficazmente la redirección. Este problema ha sido solucionado en la versión 2025.8.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27964 changed 2026-05-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gq5c-rw37-g46c changed 2026-10-30 | CC-BY-4.0 |
| NVD | CVE-2026-27964 changed 2026-07-24 | Public domain |