CVE-2026-27964: FacturaScripts vulnerable to Reflected Cross-Site Scripting (XSS) via Cookie Manipulation
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
- Log in to the application with any valid account.
- Capture any the GET request .
- Modify the value of "fsNick" with the following JavaScript:
<script>alert(window.origin)</script>
- Send the modified request.
- 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) entriesCVE-2026-45262
FacturaScripts: Authenticated SQL injection in the FacturaScripts REST API filter parameter via parenthesis bypass in `Where::sqlColumn`
critical9.9Jul 14, 2026CVE-2026-45263
FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export
high8.0Jul 14, 2026CVE-2026-45693
FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents
high7.5No fixJul 14, 2026CVE-2026-45710
FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`
low3.5Jul 14, 2026CVE-2026-77526
FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE
critical9.9Jul 14, 2026CVE-2026-47677
FacturaScripts: Account takeover of any 2FA-enabled user
critical9.3Jul 13, 2026
