{"answers":{"affected":"3 open source packages ship an affected version, including kiwitcms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-32686 in the wild and no public exploit code.","fix":"Upgrade kiwitcms to 12.3 or later.","what":"CVE-2023-32686 is a high-severity cross-site scripting vulnerability in kiwitcms Kiwi, published on 27 May 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-32686 and fix it if it is affected.\n\nWhat it is: CVE-2023-32686 is a high-severity cross-site scripting vulnerability in kiwitcms Kiwi, published on 27 May 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: There is no known exploitation of CVE-2023-32686 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kiwitcms (PyPI): affected all versions; fixed in 12.3\n- kiwitcms (PyPI): affected all versions; fixed in 12.3\n- kiwitcms (PyPI): affected all versions; fixed in 12.3\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-32686/ (Markdown: https://insights.sbomify.com/CVE-2023-32686/index.md)","id":"CVE-2023-32686","markdown":"https://insights.sbomify.com/CVE-2023-32686/index.md","name":"CVE-2023-32686","record":{"aliases":["GHSA-x7c2-7wvg-jpx7","PYSEC-2026-1500"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Test management system","requires_auth":"none","summary":"Attackers can upload malicious files to bypass CSP and execute arbitrary JavaScript in users' browsers via stored XSS in Kiwi TCMS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kiwi_tcms","vendor":"kiwitcms"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Kiwi TCMS is an open source test management system for both manual and automated testing. Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. Earlier versions of Kiwi TCMS had introduced upload validators in order to prevent potentially dangerous files from being uploaded. The upload validation checks were not robust enough which left the possibility of an attacker to circumvent them and upload a potentially dangerous file. Exploiting this flaw, a combination of files could be uploaded so that they work together to circumvent the existing Content-Security-Policy and allow execution of arbitrary JavaScript in the browser. This issue has been patched in version 12.3.","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":"kiwitcms vulnerable to stored XSS via unrestricted files upload","id":"CVE-2023-32686","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Insufficiently Protected ChatBot Credentials in tgstation-server","id":"CVE-2023-32687"},"packages":[{"ecosystem":"PyPI","fixed":["12.3"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":null,"source":"GHSA-x7c2-7wvg-jpx7"},{"ecosystem":"PyPI","fixed":["12.3"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":"pkg:pypi/kiwitcms","source":"GHSA-x7c2-7wvg-jpx7"},{"ecosystem":"PyPI","fixed":["12.3"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":"pkg:pypi/kiwitcms","source":"PYSEC-2026-1500"}],"prev":{"headline":"Clipboard based cross-site scripting (blocked with default CSP) in Kanboard","id":"CVE-2023-32685"},"products":["Kiwi"],"published":"2023-05-27","related":[{"cvss_score":8.8,"headline":"Kiwi TCMS has command injection vulnerability in changelog.yml CI workflow","id":"CVE-2023-30628","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":8.1,"headline":"Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox","id":"CVE-2023-36809","kev_date_added":null,"published":"2023-07-05"},{"cvss_score":8.1,"headline":"Stored cross site scripting (XSS) via unrestricted file upload in Kiwi TCMS","id":"CVE-2023-33977","kev_date_added":null,"published":"2023-06-06"},{"cvss_score":8.1,"headline":"Kiwi TCMS unrestricted file upload vulnerability","id":"CVE-2023-30613","kev_date_added":null,"published":"2023-04-24"},{"cvss_score":7.6,"headline":"Stored cross site scripting via SVG file upload in Kiwi TCMS","id":"CVE-2023-27489","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":7.5,"headline":"Kiwi TCMS has no protection against brute-force attacks on login page","id":"CVE-2023-25156","kev_date_added":null,"published":"2023-02-15"}],"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-14","vendors":["kiwitcms"]},"summary":"Attackers can upload malicious files to bypass CSP and execute arbitrary JavaScript in users' browsers via stored XSS in Kiwi TCMS.","url":"https://insights.sbomify.com/CVE-2023-32686/"}