{"answers":{"affected":"2 open source packages ship an affected version, including sidekiq. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1892 exists.","fix":"Upgrade sidekiq to 7.0.8 or later.","what":"CVE-2023-1892 is a high-severity cross-site scripting vulnerability in sidekiq/sidekiq, published on 5 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-1892 and fix it if it is affected.\n\nWhat it is: CVE-2023-1892 is a high-severity cross-site scripting vulnerability in sidekiq/sidekiq, published on 5 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1892 exists.\n\nAffected packages and fixed versions:\n- sidekiq (RubyGems): affected from 7.0.4; fixed in 7.0.8\n- sidekiq (RubyGems): affected from 7.0.4; fixed in 7.0.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-1892/ (Markdown: https://insights.sbomify.com/CVE-2023-1892/index.md)","id":"CVE-2023-1892","markdown":"https://insights.sbomify.com/CVE-2023-1892/index.md","name":"CVE-2023-1892","record":{"aliases":["GHSA-h3r8-h5qw-4r35"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby background job library","requires_auth":"none","summary":"Reflected XSS in Sidekiq allows attackers to execute arbitrary scripts in the context of the web interface.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"sidekiq","vendor":"contribsys"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site Scripting (XSS) - Reflected in GitHub repository sidekiq/sidekiq prior to 7.0.8.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-1892.yaml","stars":null,"title":"Sidekiq \u003c 7.0.8 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site Scripting (XSS) - Reflected in sidekiq/sidekiq","id":"CVE-2023-1892","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Login Configurator \u003c= 2.1 - Reflected Cross-Site Scripting","id":"CVE-2023-1893"},"packages":[{"ecosystem":"RubyGems","fixed":["7.0.8"],"introduced":["7.0.4"],"last_affected":[],"package":"sidekiq","purl":null,"source":"GHSA-h3r8-h5qw-4r35"},{"ecosystem":"RubyGems","fixed":["7.0.8"],"introduced":["7.0.4"],"last_affected":[],"package":"sidekiq","purl":"pkg:gem/sidekiq","source":"GHSA-h3r8-h5qw-4r35"}],"prev":{"headline":"Accordion \u0026 FAQ \u003c 1.9.9 - Reflected XSS","id":"CVE-2023-1891"},"products":["sidekiq/sidekiq"],"published":"2023-04-05","related":[{"cvss_score":7.5,"headline":"sidekiq Denial of Service vulnerability","id":"CVE-2023-26141","kev_date_added":null,"published":"2023-09-14"},{"cvss_score":7.5,"headline":"Denial of service in sidekiq","id":"CVE-2022-23837","kev_date_added":null,"published":"2022-01-21"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-46950","kev_date_added":null,"published":"2024-03-01"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-46951","kev_date_added":null,"published":"2024-03-01"},{"cvss_score":6.1,"headline":"Cross-site Scripting in Sidekiq","id":"CVE-2021-30151","kev_date_added":null,"published":"2021-04-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-10","vendors":["sidekiq"]},"summary":"Reflected XSS in Sidekiq allows attackers to execute arbitrary scripts in the context of the web interface.","url":"https://insights.sbomify.com/CVE-2023-1892/"}