# CVE-2024-32887: Reflected XSS in sidekiq

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-04-26T21:02:42.462Z
- Modified: 2026-06-17T07:30:37.213Z
- Also known as: GHSA-q655-3pj8-9fxq
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Sidekiq is simple, efficient background processing for Ruby. Sidekiq is reflected XSS vulnerability. The value of substr parameter is reflected in the response without any encoding, allowing an attacker to inject Javascript code into the response of the application.  An attacker could exploit it to target users of the Sidekiq Web UI. Moreover, if other applications are deployed on the same domain or website as Sidekiq, users of those applications could also be affected, leading to a broader scope of compromise. Potentially compromising their accounts, forcing the users to perform sensitive actions, stealing sensitive data, performing CORS attacks, defacement of the web application, etc. This issue has been patched in version 7.2.4.

(As written by CVE List.)

## Affected

- sidekiq sidekiq: >= 7.2.0, < 7.2.4; 7.2.0
- sidekiq (RubyGems): from 7.2.0 before 7.2.4

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/sidekiq/sidekiq/security/advisories/GHSA-q655-3pj8-9fxq> (web)
- <https://github.com/sidekiq/sidekiq/commit/30786e082c70349ab27ffa9eccc42fb0c696164d> (web)
- <https://github.com/sidekiq/sidekiq/releases/tag/v7.2.4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32887> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sidekiq/CVE-2024-32887.yml> (web)
- <https://github.com/sidekiq/sidekiq> (package)

## Sources

- CVE List: [CVE-2024-32887](https://www.cve.org/CVERecord?id=CVE-2024-32887), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-q655-3pj8-9fxq](https://github.com/advisories/GHSA-q655-3pj8-9fxq), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2024-32887](https://nvd.nist.gov/vuln/detail/CVE-2024-32887), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32887 · Whole record: https://cve.day/CVE-2024-32887.json · Rebuilt by cve.day 2026-11-25T22:58:39.646Z
