{"id":"CVE-2022-1571","aliases":["CVE-2022-1571","GHSA-m8gv-gvhf-7rhp"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting - Reflected in Create Subaccount in neorazorx/facturascripts","summary":"Cross-site scripting - Reflected in Create Subaccount in GitHub repository neorazorx/facturascripts prior to 2022.07. This vulnerability can be arbitrarily executed javascript code to steal user'cookie, perform HTTP request, get content of `same origin` page, etc ...","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site scripting - Reflected in Create Subaccount in GitHub repository neorazorx/facturascripts prior to 2022.07. This vulnerability can be arbitrarily executed javascript code to steal user'cookie, perform HTTP request, get content of `same origin` page, etc ...","source":"cvelist"},{"lang":"en","text":"FacturaScripts versions 2022.06 and prior are vulnerable to reflected cross-site scripting attacks. This vulnerability can use arbitrarily executed javascript code to steal users' cookies, perform HTTP request, get content of `same origin` page, etc. A fix is available on the `master` branch of the GitHub repository and anticipated to be part of version 2022.07.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de tipo Cross-site scripting - Reflejado en Create Subaccount en el repositorio GitHub neorazorx/facturascripts versiones anteriores a  2022.07. Esta vulnerabilidad permite ejecutar arbitrariamente código javascript para robar la cookie del usuario, llevar a cabo una petición HTTP, conseguir el contenido de la página \"same origin\", etc...","source":"nvd"}],"published":"2022-05-04T10:20:09.000Z","modified":"2026-06-17T04:22:41.617Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","score":9.9,"rating":"CRITICAL"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","score":9.9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"2022.07","status":"affected"}],"vendor":"neorazorx","product":"neorazorx/facturascripts","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2022.07"}],"ecosystem":"Packagist","package":"facturascripts/facturascripts","purl":"pkg:composer/facturascripts/facturascripts","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2022.07"}],"vendor":"facturascripts","product":"facturascripts","cpe":"cpe:2.3:a:facturascripts:facturascripts:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/4578a690-73e5-4313-840c-ee15e5329741","tags":["exploit","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1571","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/neorazorx/facturascripts","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1571","url":"https://www.cve.org/CVERecord?id=CVE-2022-1571","licence":"CVE Terms of Use","modified":"2024-08-03T00:10:03.490Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m8gv-gvhf-7rhp","url":"https://github.com/advisories/GHSA-m8gv-gvhf-7rhp","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:50.282Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1571","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1571","licence":"Public domain","modified":"2026-06-17T04:22:41.617Z"}],"updatedAt":"2026-11-25T22:58:11.397Z","epss":{"score":0.0087,"percentile":0.59918,"date":"2026-12-02T12:00:21.000Z"}}