GHSA-gq5c-rw37-g46cLowCVSS 3.9

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

Published
May 7, 2026
Last Modified
May 19, 2026

🔗 CVE IDs covered (1)

📋 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.

🎯 Affected products1

  • composer/facturascripts/facturascripts:<= 2025.71

🔗 References (4)