CVE-2023-1892 Cross-site Scripting (XSS) - Reflected in sidekiq/sidekiq

High 8.3 Published Updated

Reflected XSS in Sidekiq allows attackers to execute arbitrary scripts in the context of the web interface.

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-2023-1892?

CVE-2023-1892 is a high-severity cross-site scripting vulnerability in sidekiq/sidekiq, published on 5 Apr 2023. 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) - Reflected in GitHub repository sidekiq/sidekiq prior to 7.0.8.

Weakness: CWE-79

Which versions are affected by CVE-2023-1892?

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

PackageAffectedFixed in
sidekiq RubyGemsFrom 7.0.47.0.8
sidekiq RubyGemsFrom 7.0.47.0.8

Products include Contribsys Sidekiq.

How do I fix CVE-2023-1892?

Upgrade sidekiq to 7.0.8 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-1892 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1892 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-h3r8-h5qw-4r35.

Is CVE-2023-1892 in your software?

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

Check your SBOMs for free