NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
💎
💎 RubyGems
Not in CISA KEV
HIGH severity

CVE-2023-1892 — sidekiq

HIGHFix: sidekiq/sidekiq@458fdf7

CVE-2023-1892 is a high-severity (CVSS 8.3) Cross-site Scripting (XSS) vulnerability in sidekiq. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for sidekiq — see the affected versions and patch details below.

Cross-site Scripting (XSS) - Reflected in sidekiq/sidekiq

Also known asGHSA-h3r8-h5qw-4r35
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-1892.

EPSS Exploitation Probability

via FIRST.org ↗
2.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs86th percentile — riskier than 86% of all scored CVEsHighest risk
0.00%31.7%63.3%95.0%73.7%2.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
💎sidekiq

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

Description

sidekiq from 7.0.4 to 7.0.7 is vulnerable to reflected cross-site scripting. A fix was released in version 7.0.8.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemssidekiq≥ 7.0.4&&< 7.0.87.0.8bundle update sidekiq --conservative

Affected Products

1 product · 1 configurations
Application
sidekiqcontribsys
≥ 7.0.4 && < 7.0.8
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for sidekiq, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update sidekiq to 7.0.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-1892 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

How to detect CVE-2023-1892

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2023-1892 -u https://target
Template
Sidekiq < 7.0.8 - Cross-Site Scripting
Severity
critical
Impact
Unauthenticated attackers can inject malicious JavaScript through the period parameter in Sidekiq metrics endpoints, potentially stealing administrator session cookies and accessing sensitive job queue information and worker statistics.
Remediation
Update Sidekiq to version 7.0.8 or later that properly sanitizes the period parameter and encodes output in the metrics dashboard.

Template by ProjectDiscovery nuclei-templates (ritikchaddha, princechaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

sidekiq from 7.0.4 to 7.0.7 is vulnerable to reflected cross-site scripting. A fix was released in version 7.0.8.
O3 Security · Impact-Aware SCA

Is CVE-2023-1892 in your dependencies?

Find it across RubyGems, including transitive dependencies.

CVE-2023-1892: sidekiq XSS — Fixed in 7.0.8