{"answers":{"affected":"3 open source packages ship an affected version, including shuup. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-25963 exists.","fix":"Upgrade shuup to 2.11.0 or later.","what":"CVE-2021-25963 is a medium-severity cross-site scripting vulnerability in shuup, published on 30 Sep 2021. 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-2021-25963 and fix it if it is affected.\n\nWhat it is: CVE-2021-25963 is a medium-severity cross-site scripting vulnerability in shuup, published on 30 Sep 2021. 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-2021-25963 exists.\n\nAffected packages and fixed versions:\n- shuup (PyPI): affected from 1.6.0; fixed in 2.11.0\n- shuup (PyPI): affected from 1.6.0; fixed in 2.11.0\n- shuup (PyPI): affected from 1.6.0; fixed in 2.11.0\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-2021-25963/ (Markdown: https://insights.sbomify.com/CVE-2021-25963/index.md)","id":"CVE-2021-25963","markdown":"https://insights.sbomify.com/CVE-2021-25963/index.md","name":"CVE-2021-25963","record":{"aliases":["GHSA-5pcx-vqjp-p34w","PYSEC-2021-350"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Shuup e-commerce platform","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in victim browsers via unescaped error page content in Shuup.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Mend","cpe":[{"product":"shuup","vendor":"shuup"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"In Shuup, versions 1.6.0 through 2.10.8 are vulnerable to reflected Cross-Site Scripting (XSS) that allows execution of arbitrary javascript code on a victim browser. This vulnerability exists due to the error page contents not escaped.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Shuup - Reflected XSS in Error Page","id":"CVE-2021-25963","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2021"},"n_packages":3,"n_references":2,"next":{"headline":"Stored Cross-Site Scripting (XSS) in Calibre-web via Description Field in Metadata","id":"CVE-2021-25964"},"packages":[{"ecosystem":"PyPI","fixed":["2.11.0"],"introduced":["1.6.0"],"last_affected":[],"package":"shuup","purl":null,"source":"GHSA-5pcx-vqjp-p34w"},{"ecosystem":"PyPI","fixed":["2.11.0"],"introduced":["1.6.0"],"last_affected":[],"package":"shuup","purl":"pkg:pypi/shuup","source":"GHSA-5pcx-vqjp-p34w"},{"ecosystem":"PyPI","fixed":["2.11.0"],"introduced":["1.6.0"],"last_affected":[],"package":"shuup","purl":"pkg:pypi/shuup","source":"PYSEC-2021-350"}],"prev":{"headline":"Shuup - Formula Injection in Checkout Addresses","id":"CVE-2021-25962"},"products":["shuup"],"published":"2021-09-30","related":[{"cvss_score":8,"headline":"Shuup - Formula Injection in Checkout Addresses","id":"CVE-2021-25962","kev_date_added":null,"published":"2021-09-29"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-30","vendors":["shuup"]},"summary":"Attackers can execute arbitrary JavaScript in victim browsers via unescaped error page content in Shuup.","url":"https://insights.sbomify.com/CVE-2021-25963/"}