Description
FacturaScripts is an open source accounting and invoicing software. Versions 2025.7 and prior contain a Reflected Cross-Site Scripting (XSS) vulnerability through the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization. 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. This issue has been fixed in version 2025.8.
Published: 2026-05-18
Score: 3.9 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from the fsNick cookie, which is reflected unchanged into the HTML DOM by FacturaScripts. Because the cookie value is not encoded or sanitized before rendering, a malicious payload can be injected and executed as soon as the page loads, even though the server subsequently forces a logout. This allows an attacker to run arbitrary client‑side code within the victim’s browser session, potentially defacing the interface or exfiltrating session data. AFFECTED SYSTEMS NeoRazorX FacturaScripts versions 2025.7 and earlier are affected. The flaw has been corrected in 2025.8; no earlier versions are listed as patched. RISK AND EXPLOITABILITY The published CVSS score of 3.9 indicates low severity. EPSS data is not available, so the current exploit probability is uncertain, but the flaw is not in the CISA KEV catalog. The attack vector is client‑side, requiring an attacker to set a crafted fsNick cookie in the victim’s browser—either by direct manipulation or by persuading the user to load a malicious payload. Once the page loads, the script runs immediately, bypassing the server‑side logout.

Affected Systems

NeoRazorX FacturaScripts versions 2025.7 and prior

Risk and Exploitability

The CVSS score of 3.9 denotes low severity, and EPSS is currently unavailable, making the breach likelihood unclear. The vulnerability is not listed in CISA KEV. The flaw is exploitable by modifying the fsNick cookie to inject arbitrary JavaScript; an attacker needs to convince a user to load such a cookie or insert it manually. As the payload executes before the logout process completes, it can authorise further client‑side actions while the session is still valid. The danger is therefore limited to the compromised browser, but it could facilitate phishing, credential theft, or defacement.

Generated by OpenCVE AI on May 18, 2026 at 23:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to FacturaScripts 2025.8 or later to remove the reflected XSS flaw.
  • Implement server‑side validation of the fsNick cookie to reject unexpected or malformed values before rendering the page.
  • Ensure that any cookie value inserted into the DOM is properly encoded or sanitized to prevent script injection.

Generated by OpenCVE AI on May 18, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gq5c-rw37-g46c FacturaScripts vulnerable to Reflected Cross-Site Scripting (XSS) via Cookie Manipulation
History

Mon, 18 May 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Neorazorx
Neorazorx facturascripts
Vendors & Products Neorazorx
Neorazorx facturascripts

Mon, 18 May 2026 22:15:00 +0000

Type Values Removed Values Added
Description FacturaScripts is an open source accounting and invoicing software. Versions 2025.7 and prior contain a Reflected Cross-Site Scripting (XSS) vulnerability through the fsNick cookie parameter. The application reflects the cookie's value directly into the HTML without sanitization. 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. This issue has been fixed in version 2025.8.
Title FacturaScripts: Reflected Cross-Site Scripting (XSS) via Cookie Manipulation
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 3.9, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'}


Subscriptions

Neorazorx Facturascripts
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-18T22:05:02.529Z

Reserved: 2026-02-25T03:24:57.793Z

Link: CVE-2026-27964

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-18T22:16:38.703

Modified: 2026-05-18T22:16:38.703

Link: CVE-2026-27964

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-18T23:30:25Z

Weaknesses