{"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-27489 in the wild and no public exploit code.","fix":"Upgrade kiwitcms to 12.1 or later.","what":"CVE-2023-27489 is a high-severity cross-site scripting vulnerability in kiwitcms Kiwi, published on 29 Mar 2023. 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-2023-27489 and fix it if it is affected.\n\nWhat it is: CVE-2023-27489 is a high-severity cross-site scripting vulnerability in kiwitcms Kiwi, published on 29 Mar 2023. 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-2023-27489 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- kiwitcms (PyPI): affected all versions; fixed in 12.1\n- kiwitcms (PyPI): affected all versions; fixed in 12.1\n- kiwitcms (PyPI): affected all versions; fixed in 12.1\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-27489/ (Markdown: https://insights.sbomify.com/CVE-2023-27489/index.md)","id":"CVE-2023-27489","markdown":"https://insights.sbomify.com/CVE-2023-27489/index.md","name":"CVE-2023-27489","record":{"aliases":["GHSA-2wcr-87wf-cf9j","PYSEC-2026-1496"],"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":"low_privilege","summary":"Attackers can execute arbitrary JavaScript via uploaded SVG files in Kiwi TCMS, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"kiwi_tcms","vendor":"kiwitcms"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Kiwi TCMS is an open source test management system for both manual and automated testing. Kiwi TCMS accepts SVG files uploaded by users which could potentially contain JavaScript code. If SVG images are viewed directly, i.e. not rendered in an HTML page, this JavaScript code could execute. This vulnerability has been fixed by configuring Kiwi TCMS to serve with the Content-Security-Policy HTTP header which blocks inline JavaScript in all modern browsers. This configuration change is provided in version 12.1 and users are advised to upgrade. Users unable to upgrade may set their Content-Security-Policy HTTP header manually.","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":"Stored cross site scripting via SVG file upload in Kiwi TCMS","id":"CVE-2023-27489","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Missing proper state, nonce and PKCE checks for OAuth authentication in next-auth","id":"CVE-2023-27490"},"packages":[{"ecosystem":"PyPI","fixed":["12.1"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":null,"source":"GHSA-2wcr-87wf-cf9j"},{"ecosystem":"PyPI","fixed":["12.1"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":"pkg:pypi/kiwitcms","source":"GHSA-2wcr-87wf-cf9j"},{"ecosystem":"PyPI","fixed":["12.1"],"introduced":["0"],"last_affected":[],"package":"kiwitcms","purl":"pkg:pypi/kiwitcms","source":"PYSEC-2026-1496"}],"prev":{"headline":"Envoy gRPC client produces invalid protobuf when an HTTP header with non-UTF8 value is received.","id":"CVE-2023-27488"},"products":["Kiwi"],"published":"2023-03-29","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":8.1,"headline":"Kiwi TCMS unrestricted file upload vulnerability","id":"CVE-2023-30613","kev_date_added":null,"published":"2023-04-24"},{"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-02-12","vendors":["kiwitcms"]},"summary":"Attackers can execute arbitrary JavaScript via uploaded SVG files in Kiwi TCMS, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2023-27489/"}