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

Published May 4, 2022
·
Updated

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

Other sources

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.

— GitHub

Affected Software

3 affected componentsFixes available
facturascripts facturascripts<2022.07
composer/facturascripts/facturascripts<=2022.06
composer/facturascripts/facturascripts<=2022.06
2022.07

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/facturascripts/facturascripts to a version that resolves this vulnerability.

    Fixed in 2022.07
  2. Upgrade

    Upgrade neorazorx/facturascripts to a version that resolves this vulnerability.

    Fixed in 2022.07

Event History

May 4, 2022
CVE Published
via MITRE·10:20 AM
Data Sourced
via MITRE·10:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 5, 2022
Advisory Published
via GitHub·12:00 AM
Data Sourced
via GitHub·12:00 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2022-1571?

CVE-2022-1571 is a cross-site scripting vulnerability that exists in the Create Subaccount feature of the GitHub repository neorazorx/facturascripts prior to version 2022.07.

2

How severe is CVE-2022-1571?

CVE-2022-1571 has a severity rating of critical with a CVSS score of 6.1.

3

What can an attacker do with CVE-2022-1571?

An attacker can exploit CVE-2022-1571 to execute arbitrary JavaScript code, potentially stealing user's cookies, performing unauthorized HTTP requests, or accessing the content of same-origin pages.

4

How can I fix CVE-2022-1571?

To fix CVE-2022-1571, it is recommended to update the affected software to version 2022.07 or later.

5

Where can I find more information about CVE-2022-1571?

You can find more information about CVE-2022-1571 in the GitHub commit (https://github.com/neorazorx/facturascripts/commit/482c5a82b4d79e7a19614f5a67dc24593046cefd) and the Huntr.dev bounty report (https://huntr.dev/bounties/4578a690-73e5-4313-840c-ee15e5329741).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203