CVE-2023-1892 Cross-site Scripting (XSS) - Reflected in sidekiq/sidekiq
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.
| Package | Affected | Fixed in |
|---|---|---|
sidekiq RubyGems | From 7.0.4 | 7.0.8 |
sidekiq RubyGems | From 7.0.4 | 7.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.
Other vulnerabilities in sidekiq/sidekiq
Sources
Also known as GHSA-h3r8-h5qw-4r35.