# CVE-2023-33977: Stored cross site scripting (XSS) via unrestricted file upload in Kiwi TCMS

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-06T16:46:16.000Z
- Modified: 2026-09-10T03:50:02.113Z
- Also known as: GHSA-2fqm-m4r2-fh98, PYSEC-2026-1495
- Weaknesses: CWE-79, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 and Content-Security-Policy definition to prevent cross-site-scripting attacks. The upload validation checks were not 100% robust which left the possibility to circumvent them and upload a potentially dangerous file which allows execution of arbitrary JavaScript in the browser. Additionally we've discovered that Nginx's `proxy_pass` directive will strip some headers negating protections built into Kiwi TCMS when served behind a reverse proxy. This issue has been addressed in version 12.4. Users are advised to upgrade. Users unable to upgrade who are serving Kiwi TCMS behind a reverse proxy should make sure that additional header values are still passed to the client browser. If they aren't redefining them inside the proxy configuration.

(As written by CVE List.)

## Affected

- kiwitcms Kiwi: < 12.4
- kiwitcms (PyPI): before 12.4
- kiwitcms kiwi_tcms: up to 12.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://huntr.dev/bounties/6aea9a26-e29a-467b-aa5a-f767f0c2ec96/> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2fqm-m4r2-fh98> (mitigation, vendor-advisory, web)
- <https://github.com/kiwitcms/Kiwi/commit/d789f4b51025de4f8c747c037d02e1b0da80b034> (patch)
- <https://github.com/kiwitcms/Kiwi/blob/master/etc/nginx.conf#L66-L68> (product, web)
- <https://github.com/kiwitcms/Kiwi/blob/master/etc/nginx.conf#L87> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-33977> (advisory)
- <https://github.com/kiwitcms/kiwi/commit/d789f4b51025de4f8c747c037d02e1b0da80b034> (fix, web)
- <https://github.com/kiwitcms/Kiwi> (package)
- <https://huntr.dev/bounties/6aea9a26-e29a-467b-aa5a-f767f0c2ec96> (web)
- <https://kiwitcms.org/blog/kiwi-tcms-team/2023/06/06/kiwi-tcms-124> (web)
- <https://pypi.org/project/kiwitcms> (package)
- <https://github.com/advisories/GHSA-2fqm-m4r2-fh98> (advisory)

## Sources

- CVE List: [CVE-2023-33977](https://www.cve.org/CVERecord?id=CVE-2023-33977), CVE Terms of Use, modified 2025-01-07
- GitHub Advisory Database: [GHSA-2fqm-m4r2-fh98](https://github.com/advisories/GHSA-2fqm-m4r2-fh98), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-33977](https://nvd.nist.gov/vuln/detail/CVE-2023-33977), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1495](https://osv.dev/vulnerability/PYSEC-2026-1495), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-33977 · Whole record: https://cve.day/CVE-2023-33977.json · Rebuilt by cve.day 2026-11-25T22:58:24.648Z
