CVE-2023-50724 Resque vulnerable to reflected cross site scripting through pathname

Medium 6.3 Published Updated

Reflected XSS in Resque web interface allows attackers to execute arbitrary scripts via the current_queue parameter.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-50724?

CVE-2023-50724 is a medium-severity cross-site scripting vulnerability in resque, published on 21 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Resque (pronounced like "rescue") is a Redis-backed library for creating background jobs, placing those jobs on multiple queues, and processing them later. resque-web in resque versions before 2.1.0 are vulnerable to reflected XSS through the current_queue parameter in the path of the queues endpoint. This issue has been patched in version 2.1.0.

Weakness: CWE-79

Which versions are affected by CVE-2023-50724?

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

PackageAffectedFixed in
resque RubyGemsAll versions2.1.0
resque RubyGemsAll versions2.1.0

Products include Resque Resque.

How do I fix CVE-2023-50724?

Upgrade resque to 2.1.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-2023-50724 being exploited?

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

Sources

Also known as GHSA-r8xx-8vm8-x6wj.

Is CVE-2023-50724 in your software?

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

Check your SBOMs for free