# CVE-2022-1571: Cross-site Scripting in FacturaScripts

Source: https://junglewise.ai/threats/cve-2022-1571-cross-site-scripting-in-facturascripts  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-05  
License: CC BY 4.0 with a link back

CVE-2022-1571 · Severity: low · CVSS 3.1 · Published 2022-05-05

Cross-site Scripting in FacturaScripts

Technologies: [facturascripts/facturascripts (Packagist)](https://junglewise.ai/threats/technologies/facturascripts-facturascripts). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2022-1571 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-1571 being exploited in the wild.

**How severe is CVE-2022-1571?** Low severity, with a CVSS score of 3.1, published 5 May 2022.

**Which products and versions are affected?** facturascripts/facturascripts (Packagist) ECOSYSTEM:introduced=0,fixed=2022.07.

**Is there a fix for CVE-2022-1571?** Yes. facturascripts/facturascripts (Packagist): upgrade to 2022.07 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-1571?** Check whether you run facturascripts/facturascripts (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- facturascripts/facturascripts (Packagist): upgrade to 2022.07 or later

  ```sh
  composer require facturascripts/facturascripts:^2022.07
  ```


## Affected products

- facturascripts/facturascripts (Packagist) ECOSYSTEM:introduced=0,fixed=2022.07

## Identifiers

- CVE-2022-1571
- GHSA-m8gv-gvhf-7rhp

## Related threats

- [FacturaScripts path traversal and RCE in UploadedFile move](https://junglewise.ai/threats/facturascripts-path-traversal-and-rce-in-uploadedfile-move-40e5093b)
- [FacturaScripts stored XSS in WidgetVariante and WidgetSubcuenta](https://junglewise.ai/threats/cve-2026-45710-facturascripts-stored-xss-in-widgetvariante-and-widgetsubcuenta)
- [FacturaScripts CSV formula injection in CSVExport](https://junglewise.ai/threats/cve-2026-45263-facturascripts-csv-formula-injection-in-csvexport)
- [FacturaScripts path traversal in static file controllers](https://junglewise.ai/threats/cve-2026-45693-facturascripts-path-traversal-in-static-file-controllers)
- [FacturaScripts SQL injection in REST API filter parameter](https://junglewise.ai/threats/cve-2026-45262-facturascripts-sql-injection-in-rest-api-filter-parameter)
