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

Critical 9.9 Published Updated

Reflected cross-site scripting in FacturaScripts allows attackers to execute arbitrary JavaScript, potentially stealing cookies or hijacking user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-1571?

CVE-2022-1571 is a critical cross-site scripting vulnerability in neorazorx/facturascripts, published on 4 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-79

Which versions are affected by CVE-2022-1571?

2 open source packages ship an affected version, including facturascripts/facturascripts. It affects 1 product.

PackageAffectedFixed in
facturascripts/facturascripts PackagistAll versions2022.07
facturascripts/facturascripts PackagistAll versions2022.07

Products include Facturascripts Facturascripts.

How do I fix CVE-2022-1571?

Upgrade facturascripts/facturascripts to 2022.07 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-1571 being exploited?

There is no known exploitation of CVE-2022-1571 in the wild and no public exploit code.

Sources

Also known as GHSA-m8gv-gvhf-7rhp.

Is CVE-2022-1571 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free