CVE-2022-0501 Cross-site Scripting (XSS) - Reflected in ptrofimov/beanstalk_console
Reflected Cross-Site Scripting in Beanstalk Console allows attackers to execute arbitrary scripts in victim browsers.
- 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-0501?
CVE-2022-0501 is a high-severity cross-site scripting vulnerability in ptrofimov/beanstalk_console, published on 5 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Cross-site Scripting (XSS) - Reflected in Packagist ptrofimov/beanstalk_console prior to 1.7.12.
Weakness: CWE-79
Which versions are affected by CVE-2022-0501?
2 open source packages ship an affected version, including ptrofimov/beanstalk_console. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ptrofimov/beanstalk_console Packagist | All versions | 1.7.12 |
ptrofimov/beanstalk_console Packagist | All versions | 1.7.12 |
Products include Beanstalk Console Project Beanstalk Console.
How do I fix CVE-2022-0501?
Upgrade ptrofimov/beanstalk_console to 1.7.12 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-0501 being exploited?
There is no known exploitation of CVE-2022-0501 in the wild and no public exploit code.
Other vulnerabilities in ptrofimov/beanstalk_console
Sources
Also known as GHSA-gj85-pvp5-mvf9.