{"answers":{"affected":"2 open source packages ship an affected version, including neorazorx/facturascripts. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-1457 in the wild and no public exploit code.","fix":"Upgrade neorazorx/facturascripts to 2022.04 or later.","what":"CVE-2022-1457 is a critical cross-site scripting vulnerability in neorazorx/facturascripts, published on 25 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-1457 and fix it if it is affected.\n\nWhat it is: CVE-2022-1457 is a critical cross-site scripting vulnerability in neorazorx/facturascripts, published on 25 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-1457 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- neorazorx/facturascripts (Packagist): affected all versions; fixed in 2022.04\n- neorazorx/facturascripts (Packagist): affected all versions; fixed in 2022.04\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-2022-1457/ (Markdown: https://insights.sbomify.com/CVE-2022-1457/index.md)","id":"CVE-2022-1457","markdown":"https://insights.sbomify.com/CVE-2022-1457/index.md","name":"CVE-2022-1457","record":{"aliases":["GHSA-8wp2-vxpg-xcvp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"FacturaScripts invoicing","requires_auth":"none","summary":"Stored XSS in FacturaScripts allows attackers to inject scripts via the title parameter, potentially stealing sessions or data.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"facturascripts","vendor":"facturascripts"}],"cvss":{"score":9,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Store XSS in title parameter executing at EditUser Page \u0026 EditProducto page in GitHub repository neorazorx/facturascripts prior to 2022.04. Cross-site scripting attacks can have devastating consequences. Code injected into a vulnerable application can exfiltrate data or install malware on the user's machine. Attackers can masquerade as authorized users via session cookies, allowing them to perform any action allowed by the user account.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Store XSS in title parameter executing at EditUser Page \u0026 EditProducto page in neorazorx/facturascripts","id":"CVE-2022-1457","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Stored XSS Leads To Session Hijacking in openemr/openemr","id":"CVE-2022-1458"},"packages":[{"ecosystem":"Packagist","fixed":["2022.04"],"introduced":["0"],"last_affected":[],"package":"neorazorx/facturascripts","purl":null,"source":"GHSA-8wp2-vxpg-xcvp"},{"ecosystem":"Packagist","fixed":["2022.04"],"introduced":["0"],"last_affected":[],"package":"neorazorx/facturascripts","purl":"pkg:composer/neorazorx/facturascripts","source":"GHSA-8wp2-vxpg-xcvp"}],"prev":{"headline":"Poll Maker \u003c 4.0.2 - Admin+ Stored Cross-Site Scripting","id":"CVE-2022-1456"},"products":["neorazorx/facturascripts"],"published":"2022-04-25","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":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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["neorazorx"]},"summary":"Stored XSS in FacturaScripts allows attackers to inject scripts via the title parameter, potentially stealing sessions or data.","url":"https://insights.sbomify.com/CVE-2022-1457/"}