{"answers":{"affected":"3 open source packages ship an affected version, including red-dashboard. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-26249 in the wild and no public exploit code.","fix":"Upgrade red-dashboard to 0.1.7a or later.","what":"CVE-2020-26249 is a high-severity cross-site scripting vulnerability in Cog-Creators Red-Dashboard, published on 8 Dec 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-26249 and fix it if it is affected.\n\nWhat it is: CVE-2020-26249 is a high-severity cross-site scripting vulnerability in Cog-Creators Red-Dashboard, published on 8 Dec 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-26249 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- red-dashboard (PyPI): affected all versions; fixed in 0.1.7a\n- red-dashboard (PyPI): affected all versions; fixed in 0.1.7a\n- red-dashboard (PyPI): affected all versions; fixed in 0.1.7a\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-2020-26249/ (Markdown: https://insights.sbomify.com/CVE-2020-26249/index.md)","id":"CVE-2020-26249","markdown":"https://insights.sbomify.com/CVE-2020-26249/index.md","name":"CVE-2020-26249","record":{"aliases":["GHSA-hm45-mgqm-gjm4","PYSEC-2020-98"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Discord bot dashboard","requires_auth":"low_privilege","summary":"Attackers can achieve remote code execution via XSS in Red Discord Bot Dashboard by crafting malicious server or user names, requiring an upgrade to fix.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"red-dashboard","vendor":"cogboard"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Red Discord Bot Dashboard is an easy-to-use interactive web dashboard to control your Redbot. In Red Discord Bot before version 0.1.7a an RCE exploit has been discovered. This exploit allows Discord users with specially crafted Server names and Usernames/Nicknames to inject code into the webserver front-end code. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information. This high severity exploit has been fixed on version 0.1.7a. There are no workarounds, bot owners must upgrade their relevant packages (Dashboard module and Dashboard webserver) in order to patch this issue.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Remote Code Execution (RCE) Exploit on Cross Site Scripting (XSS) Vulnerability","id":"CVE-2020-26249","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":3,"n_references":4,"next":{"headline":"Base class whitelist configuration ignored in OAuthenticator","id":"CVE-2020-26250"},"packages":[{"ecosystem":"PyPI","fixed":["0.1.7a"],"introduced":["0"],"last_affected":[],"package":"red-dashboard","purl":null,"source":"GHSA-hm45-mgqm-gjm4"},{"ecosystem":"PyPI","fixed":["0.1.7a"],"introduced":["0"],"last_affected":[],"package":"red-dashboard","purl":"pkg:pypi/red-dashboard","source":"GHSA-hm45-mgqm-gjm4"},{"ecosystem":"PyPI","fixed":["0.1.7a"],"introduced":["0"],"last_affected":[],"package":"red-dashboard","purl":"pkg:pypi/red-dashboard","source":"PYSEC-2020-98"}],"prev":{"headline":"Blind SQL injection during the CommentGrade process","id":"CVE-2020-26248"},"products":["Red-Dashboard"],"published":"2020-12-08","related":[],"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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Cog-Creators"]},"summary":"Attackers can achieve remote code execution via XSS in Red Discord Bot Dashboard by crafting malicious server or user names, requiring an upgrade to fix.","url":"https://insights.sbomify.com/CVE-2020-26249/"}