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

> 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:N/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; 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, no login needed
- **EPSS:** 0.83% (percentile 55, 2026-11-26)
- **CWE:** CWE-79, CWE-434
- **Aliases:** GHSA-jpgw-2r9m-8qfw, PYSEC-2026-1499
- **Published:** 2023-07-05T21:02:37.602Z
- **Modified:** 2026-07-07T17:56:37.771Z

## Who should check

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

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

## Affected and fixed versions

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

## Mitigation

- Upgrade kiwitcms to 12.5 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-36809. Work read-only: do not install, upgrade, delete or change anything.

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

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-36809 being exploited?

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

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

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

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

kiwitcms \< 12.5.

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

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

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

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-jpgw-2r9m-8qfw>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-36809>
- vendor: <https://github.com/advisories/GHSA-jpgw-2r9m-8qfw>
- patch: <https://www.github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c>
- patch: <https://www.github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d>
- patch: <https://github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c>
- patch: <https://github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d>
- exploit: <https://huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8/>
- exploit: <https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223/>
- other: <https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125/>
- other: <https://github.com/kiwitcms/Kiwi>
- other: <https://huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8>
- other: <https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223>
- other: <https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125>
- 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-36809>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jpgw-2r9m-8qfw> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1499> (license: <https://creativecommons.org/licenses/by/4.0/>)

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