CVE-2026-27964: Facturascripts/facturascripts Cross-Site Scripting Vulnerability
LOWCVE-2026-27964 is a LOW (CVSS 3.9) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Facturascripts/facturascripts libraries in the Packagist ecosystem. The issue involves facturascripts vulnerable to reflected cross-site scripting (xss) via cookie manipulation. Remediation is available in the latest vendor maintenance releases.
CVE-2026-27964 at a Glance
Security Impact
CVSS: 3.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-27964
To remediate this vulnerability, upgrade all affected Facturascripts/facturascripts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade facturascripts/facturascripts to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for facturascripts/facturascripts
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-27964, inspect your project dependencies for Facturascripts/facturascripts:
inspect dependencies for facturascripts/facturascripts
Analyze the terminal output to locate any version of Facturascripts/facturascripts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Facturascripts/facturascripts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-27964 Affected Facturascripts/facturascripts Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
facturascripts/facturascripts
|
Packagist |
≤ 2025.71
|
|
References
Frequently Asked Questions
What is CVE-2026-27964?
Which Facturascripts/facturascripts versions are affected?
What version fixes CVE-2026-27964?
Is facturascripts/facturascripts affected?
What is the CVSS score of CVE-2026-27964?
What CWE is associated with CVE-2026-27964?
How can I check Packagist dependencies for CVE-2026-27964?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gq5c-rw37-g46c",
"modified" : "2026-05-19T16:09:41Z",
"published" : "2026-05-07T19:34:28Z",
"aliases" : [ "CVE-2026-27964" ],
"summary" : "FacturaScripts vulnerable to Reflected Cross-Site Scripting (XSS) via Cookie Manipulation",
"details" : "### Summary\nA 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.\n\n### Details\nThe 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.\n\n### PoC\n\n1. Log in to the application with any valid account.\n<img width=\"2078\" height=\"302\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d8a9a779-44e0-4a3e-839f-0a031868fbd5\" />\n\n2. Capture any the GET request .\n<img width=\"1267\" height=\"276\" alt=\"image\" src=\"https://github.com/user-attachments/assets/22e43f73-4f86-4cab-a074-7aba584a71ac\" />\n\n3. Modify the value of \"fsNick\" with the following JavaScript:\n`<script>alert(window.origin)</script>`\n\n4. Send the modified request.\n<img width=\"1569\" height=\"319\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ade88db1-aadc-4c50-9e02-d09888067e98\" />\n\n5. Result\n<img width=\"1217\" height=\"771\" alt=\"image\" src=\"https://github.com/user-attachments/assets/5858fe9f-127a-4845-b484-5a7ef4ae2cb4\" />\n\n### Impact\nThe payload executes before the session ends, which could potentially allow for a single unauthorized action before the logout.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "facturascripts/facturascripts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2025.71"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-gq5c-rw37-g46c"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27964"
}, {
"type" : "WEB",
"url" : "https://github.com/NeoRazorX/facturascripts/commit/9066e10326029adf012114e27eb5f3f33f78ecfd"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/NeoRazorX/facturascripts"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-07T19:34:28Z",
"nvd_published_at" : "2026-05-18T22:16:38Z"
}
}