# CVE-2023-30613: Kiwi TCMS unrestricted file upload vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.08% (percentile 65, 2026-11-26)
- **CWE:** CWE-434
- **Aliases:** GHSA-fwcf-753v-fgcj, PYSEC-2026-1498
- **Published:** 2023-04-24T16:29:16.202Z
- **Modified:** 2026-07-07T17:56:19.274Z

## Who should check

- Projects that depend on PyPI package kiwitcms (\< 12.2)
- Anyone running kiwitcms Kiwi \< 12.2

## 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.

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. There are no known workarounds aside from upgrading.

## Affected and fixed versions

- PyPI `kiwitcms`: affected \< 12.2; fixed 12.2 (osv)
- kiwitcms Kiwi: \< 12.2 (cvelist)

## Mitigation

- Upgrade kiwitcms to 12.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-30613. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-30613.md
Affected: kiwitcms < 12.2
Fixed in: 12.2

Steps:
1. Search this machine and project for kiwitcms (PyPI), kiwitcms Kiwi: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-30613 being exploited?

There is no confirmed exploitation: CVE-2023-30613 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.08% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-30613?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2023-30613?

kiwitcms \< 12.2.

### Is there a fix for CVE-2023-30613?

Yes. Fixed in 12.2. Upgrade kiwitcms to 12.2 or later.

### How do I check if I'm affected by CVE-2023-30613?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-30613>
- vendor: <https://github.com/advisories/GHSA-fwcf-753v-fgcj>
- exploit: <https://huntr.com/bounties/c30d3503-600d-4d00-9571-98826a51f12c>
- other: <https://huntr.dev/bounties/c30d3503-600d-4d00-9571-98826a51f12c>
- other: <https://kiwitcms.org/blog/kiwi-tcms-team/2023/04/23/kiwi-tcms-122/>
- other: <https://github.com/kiwitcms/Kiwi>
- other: <https://kiwitcms.org/blog/kiwi-tcms-team/2023/04/23/kiwi-tcms-122>
- other: <https://pypi.org/project/kiwitcms>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-30613>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fwcf-753v-fgcj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1498> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-30613> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-30613>
