CVE-2022-1682 Reflected Xss using url based payload in neorazorx/facturascripts

Critical 9.4 Published Updated

Reflected XSS in FacturaScripts allows attackers to steal cookies and take over user accounts via malicious URLs.

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-1682?

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

Official description

Reflected Xss using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.07. Xss can use to steal user's cookies which lead to Account takeover or do any malicious activity in victim's browser

Weakness: CWE-79

Which versions are affected by CVE-2022-1682?

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

PackageAffectedFixed in
facturascripts/facturascripts PackagistAll versions2022.08
facturascripts/facturascripts PackagistAll versions2022.08

Products include Facturascripts Facturascripts.

How do I fix CVE-2022-1682?

Upgrade facturascripts/facturascripts to 2022.08 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-1682 being exploited?

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

Sources

Also known as GHSA-6465-r752-2h8v.

Is CVE-2022-1682 in your software?

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

Check your SBOMs for free