{"answers":{"affected":"2 open source packages ship an affected version, including facturascripts/facturascripts.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27964 exists.","fix":"No fix has been published for CVE-2026-27964 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-27964 is a low-severity cross-site scripting vulnerability in NeoRazorX facturascripts, published on 18 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-27964 and fix it if it is affected.\n\nWhat it is: CVE-2026-27964 is a low-severity cross-site scripting vulnerability in NeoRazorX facturascripts, published on 18 May 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27964 exists.\n\nAffected packages and fixed versions:\n- facturascripts/facturascripts (Packagist): affected all versions up to 2025.71; no fix listed\n- facturascripts/facturascripts (Packagist): affected all versions up to 2025.71; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27964/ (Markdown: https://insights.sbomify.com/CVE-2026-27964/index.md)","id":"CVE-2026-27964","markdown":"https://insights.sbomify.com/CVE-2026-27964/index.md","name":"CVE-2026-27964","record":{"aliases":["GHSA-gq5c-rw37-g46c"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Accounting software","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary scripts in victim browsers by manipulating the fsNick cookie, bypassing logout redirects.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.9,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"FacturaScripts: Reflected Cross-Site Scripting (XSS) via Cookie Manipulation","id":"CVE-2026-27964","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Vitess users with backup storage access can gain unauthorized access to production deployment environments","id":"CVE-2026-27965"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2025.71"],"package":"facturascripts/facturascripts","purl":null,"source":"GHSA-gq5c-rw37-g46c"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2025.71"],"package":"facturascripts/facturascripts","purl":"pkg:composer/facturascripts/facturascripts","source":"GHSA-gq5c-rw37-g46c"}],"prev":{"headline":"Audiobookshelf has Stored XSS in Tooltip.vue via Audiobook Metadata","id":"CVE-2026-27963"},"products":["facturascripts"],"published":"2026-05-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-19","vendors":["NeoRazorX"]},"summary":"Attackers can execute arbitrary scripts in victim browsers by manipulating the fsNick cookie, bypassing logout redirects.","url":"https://insights.sbomify.com/CVE-2026-27964/"}