# CVE-2022-1682: Cross-site Scripting in facturascripts

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

CVE-2022-1682 · Severity: low · CVSS 3.1 · Published 2022-05-13

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-1682 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-1682 being exploited in the wild.

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

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

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

**Am I affected by CVE-2022-1682?** 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.08 or later

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


## Affected products

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

## Identifiers

- CVE-2022-1682
- GHSA-6465-r752-2h8v

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