GitHub Advisoryadvisory · Packagist

GHSA-gq5c-rw37-g46c FacturaScripts vulnerable to Reflected Cross-Site Scripting (XSS) via Cookie Manipulation

LOW Published 2026-05-07 Modified 2026-10-30 Official page ↗
Aliases
CVE-2026-27964
Ecosystem
Packagist
Packages
facturascripts/facturascripts
Severity
Low
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2026-05-07

Affected packages

• Packagist facturascripts/facturascripts: < 2025.8 → fixed in 2025.8 • Packagist facturascripts/facturascripts: >= 2025.11, < 2025.81 → fixed in 2025.81

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: `alert(window.origin)` 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.

Related

Alias · CVE (1)

  • CVE-2026-27964 FacturaScripts is an open source accounting and invoicing software. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References