CVE-2022-0501 Cross-site Scripting (XSS) - Reflected in ptrofimov/beanstalk_console

High 8.6 Published Updated

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.

PackageAffectedFixed in
ptrofimov/beanstalk_console PackagistAll versions1.7.12
ptrofimov/beanstalk_console PackagistAll versions1.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.

Sources

Also known as GHSA-gj85-pvp5-mvf9.

Is CVE-2022-0501 in your software?

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

Check your SBOMs for free