A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27964

CVE-2026-27964: FacturaScripts Reflected XSS Vulnerability

CVE-2026-27964 is a reflected cross-site scripting flaw in FacturaScripts that exploits the fsNick cookie parameter without sanitization. This post covers technical details, affected versions through 2025.7, impact, and mitigation.

Published: May 21, 2026

CVE-2026-27964 Overview

CVE-2026-27964 is a Reflected Cross-Site Scripting (XSS) vulnerability [CWE-79] in FacturaScripts, an open source accounting and invoicing application. Versions 2025.7 and prior reflect the fsNick cookie value directly into the HTML response without sanitization or output encoding. An attacker who can set or influence the fsNick cookie in a victim's browser can execute arbitrary JavaScript in the application context. The server rejects the modified session and forces a logout, but the HTML containing the payload reaches the browser before the redirect completes. The script executes immediately on page load. The issue is fixed in version 2025.8.

Critical Impact

Authenticated attackers with local access can execute arbitrary JavaScript in a victim's browser session, enabling theft of session data and limited integrity impact on the FacturaScripts UI.

Affected Products

  • FacturaScripts versions 2025.7 and prior
  • FacturaScripts open source accounting and invoicing platform
  • Fixed in FacturaScripts 2025.8

Discovery Timeline

  • 2026-05-18 - CVE-2026-27964 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-27964

Vulnerability Analysis

The vulnerability is a classic Reflected XSS issue rooted in unsafe handling of a client-controlled cookie. FacturaScripts reads the fsNick cookie value and injects it directly into the rendered DOM. The application does not apply HTML entity encoding or contextual output sanitization before emission. As a result, any JavaScript payload stored in the fsNick cookie executes when the browser parses the response.

The race condition between rendering and the server-side logout adds practical exploitability. While the backend identifies the tampered session and issues a redirect to log the user out, the malicious HTML payload is delivered in the same response. Browser parsing begins immediately, allowing the injected script to run before the redirect terminates the page context. This effectively neutralizes the server's defense-in-depth measure.

Root Cause

The root cause is missing output encoding on a user-influenced input. The fsNick cookie is treated as trusted server-side state, but its value originates from the client and can be modified. Rendering this value into HTML without applying functions equivalent to htmlspecialchars() or template auto-escaping allows raw markup to enter the DOM.

Attack Vector

Exploitation requires local access and user interaction. An attacker with the ability to set cookies in the victim's browser, through a sibling subdomain, a separate XSS primitive, or local malware, places a JavaScript payload into the fsNick cookie. When the victim loads any FacturaScripts page that reflects this cookie, the script executes in the application's origin. The attacker can read DOM content, exfiltrate session-related data, or perform limited UI manipulation before the logout redirect fires.

The vulnerability mechanism is documented in the FacturaScripts Security Advisory GHSA-gq5c-rw37-g46c and remediated in commit 9066e10.

Detection Methods for CVE-2026-27964

Indicators of Compromise

  • Unexpected values in the fsNick cookie containing HTML tags, angle brackets, or JavaScript syntax such as <script>, onerror=, or javascript: URIs.
  • Server logs showing forced logout events immediately following requests with abnormal fsNick cookie content.
  • Browser console errors or outbound requests to attacker-controlled domains correlated with FacturaScripts page loads.

Detection Strategies

  • Inspect HTTP request headers at the web application firewall or reverse proxy for fsNick cookie values containing markup or script syntax.
  • Hunt FacturaScripts response bodies for occurrences of the fsNick value rendered alongside unescaped angle brackets.
  • Review authentication logs for short-lived sessions ending in forced logout, which can indicate exploitation attempts against the rejection path.

Monitoring Recommendations

  • Enable verbose web server logging that captures full cookie headers for FacturaScripts endpoints during the remediation window.
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution attempts.
  • Alert on anomalous outbound JavaScript fetches or fetch()/XMLHttpRequest traffic originating from authenticated FacturaScripts sessions.

How to Mitigate CVE-2026-27964

Immediate Actions Required

  • Upgrade FacturaScripts to version 2025.8 or later, which contains the official fix.
  • Invalidate active sessions and require re-authentication after upgrading to clear any cookies tampered with prior to the patch.
  • Audit reverse proxy and WAF rules to block requests with HTML or script syntax in the fsNick cookie.

Patch Information

The maintainers addressed the issue in FacturaScripts 2025.8. The remediation is published in commit 9066e10 and tracked under GHSA-gq5c-rw37-g46c. The fix introduces output encoding for the fsNick cookie value before it is rendered into the DOM.

Workarounds

  • If immediate patching is not possible, deploy a WAF rule that strips or rejects fsNick cookies containing characters outside an allowlist of alphanumerics.
  • Enforce a strict Content Security Policy that disallows inline scripts to neutralize reflected payloads.
  • Restrict FacturaScripts to trusted networks and require authenticated VPN access to reduce exposure to local cookie tampering vectors.
bash
# Example WAF rule fragment (ModSecurity) to block markup in fsNick cookie
SecRule REQUEST_COOKIES:fsNick "@rx [<>\"'`]|script|javascript:" \
    "id:1027964,phase:1,deny,status:400,log,\
    msg:'CVE-2026-27964: Suspicious fsNick cookie content'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechFacturascripts

  • SeverityLOW

  • CVSS Score3.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-23476: FacturaScripts Reflected XSS Vulnerability

  • CVE-2026-23997: FacturaScripts Stored XSS Vulnerability

  • CVE-2026-27891: FacturaScripts Zip Slip RCE Vulnerability

  • CVE-2026-27892: FacturaScripts Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English