CVE-2022-0602 Cross-site Scripting (XSS) - DOM in tastyigniter/tastyigniter
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.
| Package | Affected | Fixed in |
|---|---|---|
tastyigniter/tastyigniter Packagist | All versions | 3.3.0 |
tastyigniter/tastyigniter Packagist | All versions | 3.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.
Other vulnerabilities in tastyigniter/tastyigniter
- CVE-2025-61417 TastyIgniter vulnerable to Cross-Site Scripting
- CVE-2024-44313 TastyIgniter Has an Incorrect Access Control Vulnerability via `invoice()` Function
- CVE-2024-44314 TastyIgniter Has an Incorrect Access Control Vulnerability
- CVE-2022-38256 Cross-site scripting in n/a
- CVE-2022-23378 Cross-site scripting in n/a
Sources
Also known as GHSA-cjw5-f2x5-r4q5.