{"answers":{"affected":"2 open source packages ship an affected version, including facturascripts/facturascripts. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23997 exists.","fix":"No fix has been published for CVE-2026-23997 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-23997 is a high-severity cross-site scripting vulnerability in NeoRazorX facturascripts, published on 2 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-23997 and fix it if it is affected.\n\nWhat it is: CVE-2026-23997 is a high-severity cross-site scripting vulnerability in NeoRazorX facturascripts, published on 2 Feb 2026. Any signed-in user can exploit it over the 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-23997 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-23997/ (Markdown: https://insights.sbomify.com/CVE-2026-23997/index.md)","id":"CVE-2026-23997","markdown":"https://insights.sbomify.com/CVE-2026-23997/index.md","name":"CVE-2026-23997","record":{"aliases":["GHSA-4v7v-7v7r-3r5h"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"ERP accounting software","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts into the Observations field, leading to arbitrary JavaScript execution in administrators' browsers when viewing history.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"facturascripts","vendor":"facturascripts"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"FacturaScripts is open-source enterprise resource planning and accounting software. In 2025.71 and earlier, a Stored Cross-Site Scripting (XSS) vulnerability was discovered in the Observations field. The flaw occurs in the History view, where historical data is rendered without proper HTML entity encoding. This allows an attacker to execute arbitrary JavaScript in the browser of viewing the history by administrators.","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 has a Stored Cross-Site Scripting (XSS) in \"Observations\" field via History View","id":"CVE-2026-23997","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Fleet has a Windows MDM management endpoint authentication bypass","id":"CVE-2026-23998"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2025.71"],"package":"facturascripts/facturascripts","purl":null,"source":"GHSA-4v7v-7v7r-3r5h"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["2025.71"],"package":"facturascripts/facturascripts","purl":"pkg:composer/facturascripts/facturascripts","source":"GHSA-4v7v-7v7r-3r5h"}],"prev":{"headline":"FastAPI Api Key has a timing side-channel in verify_key that allows statistical key validity detection","id":"CVE-2026-23996"},"products":["facturascripts"],"published":"2026-02-02","related":[{"cvss_score":9.9,"headline":"Cross-site scripting - Reflected in Create Subaccount in neorazorx/facturascripts","id":"CVE-2022-1571","kev_date_added":null,"published":"2022-05-04"},{"cvss_score":9.8,"headline":"Account Takeover in neorazorx/facturascripts","id":"CVE-2022-1715","kev_date_added":null,"published":"2022-05-13"},{"cvss_score":9.4,"headline":"Reflected Xss using url based payload in neorazorx/facturascripts","id":"CVE-2022-1682","kev_date_added":null,"published":"2022-05-12"},{"cvss_score":9,"headline":"Stored XSS via upload plugin functionality in zip format in neorazorx/facturascripts","id":"CVE-2022-1514","kev_date_added":null,"published":"2022-04-28"},{"cvss_score":9,"headline":"Store XSS in title parameter executing at EditUser Page \u0026 EditProducto page in neorazorx/facturascripts","id":"CVE-2022-1457","kev_date_added":null,"published":"2022-04-25"},{"cvss_score":8.7,"headline":"FacturaScripts has SQL Injection vulnerability in Autocomplete Actions","id":"CVE-2026-25514","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":8.6,"headline":"Cross-site Scripting (XSS) - Stored in neorazorx/facturascripts","id":"CVE-2022-2065","kev_date_added":null,"published":"2022-06-13"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"total"},"state":"PUBLISHED","updated":"2026-02-03","vendors":["NeoRazorX"]},"summary":"Attackers can inject malicious scripts into the Observations field, leading to arbitrary JavaScript execution in administrators' browsers when viewing history.","url":"https://insights.sbomify.com/CVE-2026-23997/"}