# CVE-2023-36809: Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox

- 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.69%, higher than 54% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-07-05T21:02:37.602Z
- Modified: 2026-07-07T17:56:37.771Z
- Also known as: GHSA-jpgw-2r9m-8qfw, PYSEC-2026-1499
- Weaknesses: CWE-79, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Kiwi TCMS, an open source test management system allows users to upload attachments to test plans, test cases, etc. Versions of Kiwi TCMS prior to 12.5 had introduced changes which were meant to serve all uploaded files as plain text in order to prevent browsers from executing potentially dangerous files when such files are accessed directly. The previous Nginx configuration was incorrect allowing certain browsers like Firefox to ignore the `Content-Type: text/plain` header on some occasions thus allowing potentially dangerous scripts to be executed. Additionally, file upload validators and parts of the HTML rendering code had been found to require additional sanitation and improvements. Version 12.5 fixes this vulnerability with updated Nginx content type configuration, improved file upload validation code to prevent more potentially dangerous uploads, and Sanitization of test plan names used in the `tree_view_html()` function.

(As written by CVE List.)

## Affected

- kiwitcms Kiwi: < 12.5
- kiwitcms kiwi_tcms: before 12.5
- kiwitcms (PyPI): before 12.5

## 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/511489dd-ba38-4806-9029-b28ab2830aa8/> (exploit, issue-tracking, third-party-advisory)
- <https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223/> (exploit, third-party-advisory)
- <https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-jpgw-2r9m-8qfw> (vendor-advisory, web)
- <https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125/> (release-notes)
- <https://www.github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c> (patch, web)
- <https://www.github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-36809> (advisory)
- <https://github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c> (web)
- <https://github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d> (web)
- <https://github.com/kiwitcms/Kiwi> (package)
- <https://huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8> (web)
- <https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223> (web)
- <https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125> (web)
- <https://pypi.org/project/kiwitcms> (package)
- <https://github.com/advisories/GHSA-jpgw-2r9m-8qfw> (advisory)

## Sources

- CVE List: [CVE-2023-36809](https://www.cve.org/CVERecord?id=CVE-2023-36809), CVE Terms of Use, modified 2024-10-24
- GitHub Advisory Database: [GHSA-jpgw-2r9m-8qfw](https://github.com/advisories/GHSA-jpgw-2r9m-8qfw), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-36809](https://nvd.nist.gov/vuln/detail/CVE-2023-36809), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1499](https://osv.dev/vulnerability/PYSEC-2026-1499), CC-BY-4.0, modified 2026-07-07

---

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