CVE-2022-2066 Cross-site Scripting (XSS) - Reflected in neorazorx/facturascripts

High 7.1 Published Updated

Reflected Cross-Site Scripting in FacturaScripts allows attackers to execute arbitrary scripts in victim browsers, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-2066?

CVE-2022-2066 is a high-severity cross-site scripting vulnerability in neorazorx/facturascripts, published on 13 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.06.

Weakness: CWE-79

Which versions are affected by CVE-2022-2066?

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

PackageAffectedFixed in
facturascripts/facturascripts PackagistAll versions2022.06
facturascripts/facturascripts PackagistAll versions2022.06

Products include Facturascripts Facturascripts.

How do I fix CVE-2022-2066?

Upgrade facturascripts/facturascripts to 2022.06 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-2066 being exploited?

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

Sources

Also known as GHSA-h6wm-mr85-4h9g.

Is CVE-2022-2066 in your software?

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

Check your SBOMs for free