CVE-2026-27964
JSON

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 packageVersionsReported by
NeoRazorX facturascripts< 2025.8CVE List
facturascripts/facturascripts (Packagist)before 2025.8, from 2025.11 before 2025.81GitHub Advisory Database

All scores

GitHub_M3.9low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub3.9low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Classification

CWE-79

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
  1. Log in to the application with any valid account.

    image
  2. Capture any the GET request .

    image
  3. Modify the value of "fsNick" with the following JavaScript: <script>alert(window.origin)</script>

  4. Send the modified request.

    image
  5. 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

SourceRecordLicence
CVE ListCVE-2026-27964 changed 2026-05-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-gq5c-rw37-g46c changed 2026-10-30CC-BY-4.0
NVDCVE-2026-27964 changed 2026-07-24Public domain