{"answers":{"affected":"3 open source packages ship an affected version, including kiwitcms. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30613 exists.","fix":"Upgrade kiwitcms to 12.2 or later.","what":"CVE-2023-30613 is a high-severity vulnerability in kiwitcms Kiwi, published on 24 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-30613 and fix it if it is affected.\n\nWhat it is: CVE-2023-30613 is a high-severity vulnerability in kiwitcms Kiwi, published on 24 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30613 exists.\n\nAffected packages and fixed versions:\n- kiwitcms (PyPI): affected all versions; fixed in 12.2\n- kiwitcms (PyPI): affected all versions; fixed in 12.2\n- kiwitcms (PyPI): affected all versions; fixed in 12.2\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-30613/ (Markdown: https://insights.sbomify.com/CVE-2023-30613/index.md)","id":"CVE-2023-30613","markdown":"https://insights.sbomify.com/CVE-2023-30613/index.md","name":"CVE-2023-30613","record":{"aliases":["GHSA-fwcf-753v-fgcj","PYSEC-2026-1498"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Kiwi TCMS","requires_auth":"low_privilege","summary":"Attackers can upload malicious files like executables or scripts to Kiwi TCMS, potentially causing code execution on victim machines.","user_interaction":"not_required","vuln_class":"file_upload"},"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:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Kiwi TCMS, an open source test management system, allows users to upload attachments to test plans, test cases, etc. In versions of Kiwi TCMS prior to 12.2, there is no control over what kinds of files can be uploaded. Thus, a malicious actor may upload an `.exe` file or a file containing embedded JavaScript and trick others into clicking on these files, causing vulnerable browsers to execute malicious code on another computer.\n\nKiwi TCMS v12.2 comes with functionality that allows administrators to configure additional upload validator functions which give them more control over what file types are accepted for upload. By default `.exe` are denied. Other files containing the `\u003cscript\u003e` tag, regardless of their type are also denied b/c they are a path to XSS attacks. There are no known workarounds aside from upgrading.","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":"Kiwi TCMS unrestricted file upload vulnerability","id":"CVE-2023-30613","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Improper Neutralization of Script-Related HTML Tags in a Web Page in pay","id":"CVE-2023-30614"},"packages":[{"ecosystem":"PyPI","fixed":["12.2"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":null,"source":"GHSA-fwcf-753v-fgcj"},{"ecosystem":"PyPI","fixed":["12.2"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":"pkg:pypi/kiwitcms","source":"GHSA-fwcf-753v-fgcj"},{"ecosystem":"PyPI","fixed":["12.2"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":"pkg:pypi/kiwitcms","source":"PYSEC-2026-1498"}],"prev":{"headline":"Malicious HTTP requests could close arbitrary opening file descriptors in cloud-hypervisor","id":"CVE-2023-30612"},"products":["Kiwi"],"published":"2023-04-24","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":"kiwitcms vulnerable to stored XSS via unrestricted files upload","id":"CVE-2023-32686","kev_date_added":null,"published":"2023-05-27"},{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-04","vendors":["kiwitcms"]},"summary":"Attackers can upload malicious files like executables or scripts to Kiwi TCMS, potentially causing code execution on victim machines.","url":"https://insights.sbomify.com/CVE-2023-30613/"}