# CVE-2022-1571: Cross-site scripting - Reflected in Create Subaccount in neorazorx/facturascripts

- Severity: Critical 9.9 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-04T10:20:09.000Z
- Modified: 2026-06-17T04:22:41.617Z
- Also known as: GHSA-m8gv-gvhf-7rhp
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

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 ...

(As written by CVE List.)

## Affected

- neorazorx neorazorx/facturascripts: from unspecified before 2022.07
- facturascripts/facturascripts (Packagist): before 2022.07
- facturascripts facturascripts: before 2022.07

## Every score

- @huntrdev: CVSS:3.0 9.9 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/4578a690-73e5-4313-840c-ee15e5329741> (exploit, patch, third-party-advisory, web)
- <https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-1571> (advisory)
- <https://github.com/neorazorx/facturascripts> (package)

## Sources

- CVE List: [CVE-2022-1571](https://www.cve.org/CVERecord?id=CVE-2022-1571), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-m8gv-gvhf-7rhp](https://github.com/advisories/GHSA-m8gv-gvhf-7rhp), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-1571](https://nvd.nist.gov/vuln/detail/CVE-2022-1571), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1571 · Whole record: https://cve.day/CVE-2022-1571.json · Rebuilt by cve.day 2026-11-25T22:58:11.397Z
