neorazorx/facturascripts · Security

FacturaScripts vulnerable to Reflected Cross-Site Scripting (XSS) via Cookie Manipulation

GHSA ID
GHSA-gq5c-rw37-g46c
CVE ID
CVE-2026-27964
Severity
low
Published
Updated
CVSS
3.9 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CVSS v3
3.9 · CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Description

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.

  2. Capture any the GET request .

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

  4. Send the modified request.

  5. Result

Impact

The payload executes before the session ends, which could potentially allow for a single unauthorized action before the logout.

CWEs

References