# CVE-2021-30151: Cross-site Scripting in Sidekiq

Source: https://junglewise.ai/threats/cve-2021-30151-cross-site-scripting-in-sidekiq  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-10-06  
License: CC BY 4.0 with a link back

CVE-2021-30151 · Severity: low · CVSS 3.1 · Published 2021-10-06

Cross-site Scripting in Sidekiq

Technologies: [sidekiq (RubyGems)](https://junglewise.ai/threats/technologies/sidekiq). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2021-30151 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-30151 being exploited in the wild.

**How severe is CVE-2021-30151?** Low severity, with a CVSS score of 3.1, published 6 October 2021.

**Which products and versions are affected?** sidekiq (RubyGems) ECOSYSTEM:introduced=0,fixed=5.2.0.

**Is there a fix for CVE-2021-30151?** Yes. sidekiq (RubyGems): upgrade to 5.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-30151?** Check whether you run sidekiq (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- sidekiq (RubyGems): upgrade to 5.2.0 or later

  ```sh
  bundle update sidekiq
  ```


## Affected products

- sidekiq (RubyGems) ECOSYSTEM:introduced=0,fixed=5.2.0

## Identifiers

- CVE-2021-30151
- GHSA-grh7-935j-hg6w

## Related threats

- [Sidekiq vulnerable to a Reflected XSS in Queues Web Page](https://junglewise.ai/threats/cve-2024-32887-sidekiq-vulnerable-to-a-reflected-xss-in-queues-web-page)
- [sidekiq Denial of Service vulnerability](https://junglewise.ai/threats/cve-2023-26141-sidekiq-denial-of-service-vulnerability)
- [sidekiq vulnerable to cross-site scripting](https://junglewise.ai/threats/cve-2023-1892-sidekiq-vulnerable-to-cross-site-scripting)
- [Denial of service in sidekiq](https://junglewise.ai/threats/cve-2022-23837-denial-of-service-in-sidekiq)
