Unrestricted file upload in kiwi TCMS
Impact
Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. In earlier versions 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 or attempting XSS attacks.
Stored XSS attacks via file uploads have been fixed in earlier versions of Kiwi TCMS, see GHSA-2wcr-87wf-cf9j. This advisory deals with prohibiting users to upload potentially compromised files in the first place.
Patches
Kiwi 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 <script> tag, regardless of their type are also denied b/c they are a path to XSS attacks.
Workarounds
Upgrade to version 12.2 or later.
References
Originally reported by Ahmed Rabeaa Mosaa.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | kiwitcms | < 12.2 | 12.2 |
References
- https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj
- https://nvd.nist.gov/vuln/detail/CVE-2023-30613
- https://github.com/kiwitcms/Kiwi
- https://huntr.com/bounties/c30d3503-600d-4d00-9571-98826a51f12c
- https://huntr.dev/bounties/c30d3503-600d-4d00-9571-98826a51f12c
- https://kiwitcms.org/blog/kiwi-tcms-team/2023/04/23/kiwi-tcms-122
- https://pypi.org/project/kiwitcms
- https://github.com/advisories/GHSA-fwcf-753v-fgcj
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N- Weakness (CWE)
CWE-434- Platform
- Python (PyPI)
- Package
kiwitcms- Disclosed
- 24.04.2023
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1498 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-fwcf-753v-fgcj - CC BY 4.0
Vulnerability history: kiwitcms
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 11.2022 07.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- High 7
- Medium 3
- Low 3
Disclosures per year
- 2022: 1
- 2023: 9
- 2024: 0
- 2025: 0
- 2026: 3
-
Unrestricted file upload in kiwi TCMS this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.