{"id":"GHSA-m8gv-gvhf-7rhp","aliases":["CVE-2022-1571"],"title":"Cross-site Scripting in FacturaScripts","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"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.","severity":"medium","score":6.1,"published":"2022-05-05T00:00:26.000Z","modified":"2023-11-08T04:07:50.282Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"facturascripts/facturascripts","sources":[{"name":"OSV · GHSA-m8gv-gvhf-7rhp","url":"https://osv.dev/vulnerability/GHSA-m8gv-gvhf-7rhp"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"2022.07"}],"type":"ECOSYSTEM"}],"versions":["2018.03","2018.04","2018.05","2018.11","v2018.12","v2018.13","v2018.14","v2018.15","v2018.16","v2020.01","v2020.2","v2020.3","v2020.4","v2020.51","v2020.61","v2020.71","v2020.80","v2021","v2021.1","v2021.2","v2021.4","v2021.51","v2021.71","v2021.81","v2022.06","v2022.2","v2022.4"],"fixed":["2022.07"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-1571","https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd","https://github.com/neorazorx/facturascripts","https://huntr.dev/bounties/4578a690-73e5-4313-840c-ee15e5329741"],"sources":[{"name":"OSV","id":"GHSA-m8gv-gvhf-7rhp","modified":"2023-11-08T04:07:50.282562Z","url":"https://osv.dev/vulnerability/GHSA-m8gv-gvhf-7rhp"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T00:35:31.531Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}