CVE-2022-0539 Cross-site Scripting (XSS) - Stored in ptrofimov/beanstalk_console

Medium 6.3 Published Updated

Stored XSS in Beanstalk Console allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.

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-0539?

CVE-2022-0539 is a medium-severity cross-site scripting vulnerability in ptrofimov/beanstalk_console, published on 9 Feb 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) - Stored in Packagist ptrofimov/beanstalk_console prior to 1.7.14.

Weakness: CWE-79

Which versions are affected by CVE-2022-0539?

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

PackageAffectedFixed in
ptrofimov/beanstalk_console PackagistAll versions1.7.14
ptrofimov/beanstalk_console PackagistAll versions1.7.14

Products include Beanstalk Console Project Beanstalk Console.

How do I fix CVE-2022-0539?

Upgrade ptrofimov/beanstalk_console to 1.7.14 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-0539 being exploited?

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

Sources

Also known as GHSA-2cjf-w7c4-fhf6.

Is CVE-2022-0539 in your software?

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

Check your SBOMs for free