CVE-2022-0602 Cross-site Scripting (XSS) - DOM in tastyigniter/tastyigniter

High 7.4 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via DOM-based XSS in TastyIgniter, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0602?

CVE-2022-0602 is a high-severity cross-site scripting vulnerability in tastyigniter/tastyigniter, published on 5 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Cross-site Scripting (XSS) - DOM in GitHub repository tastyigniter/tastyigniter prior to 3.3.0.

Weakness: CWE-79

Which versions are affected by CVE-2022-0602?

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

PackageAffectedFixed in
tastyigniter/tastyigniter PackagistAll versions3.3.0
tastyigniter/tastyigniter PackagistAll versions3.3.0

Products include Tastyigniter Tastyigniter.

How do I fix CVE-2022-0602?

Upgrade tastyigniter/tastyigniter to 3.3.0 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-0602 being exploited?

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

Sources

Also known as GHSA-cjw5-f2x5-r4q5.

Is CVE-2022-0602 in your software?

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

Check your SBOMs for free