NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-27964: FacturaScripts vulnerable to Reflected Cross-Site Scripting (XSS) via Cookie Manipulation

lowCVSS 3.1 3.9GHSA-gq5c-rw37-g46c

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.

Published May 7, 2026 · Updated Oct 30, 2026

Affected packages

facturascripts/facturascripts

Ecosystem
Composer (PHP)
Affected
< 2025.8
Fixed in
2025.8
Check
composer show facturascripts/facturascripts

facturascripts/facturascripts

Ecosystem
Composer (PHP)
Affected
>= 2025.11, < 2025.81
Fixed in
2025.81
Check
composer show facturascripts/facturascripts

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.
  1. Capture any the GET request .
  1. Modify the value of "fsNick" with the following JavaScript:

<script>alert(window.origin)</script>

  1. Send the modified request.
  1. Result

Impact

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

Credited to jaroslaw-wawiorko, zuhairhalawa.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries