# CVE-2023-27489: Stored cross site scripting via SVG file upload in Kiwi TCMS

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- 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.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2023-03-29T18:30:18.232Z
- Modified: 2026-09-10T03:49:52.408Z
- Also known as: GHSA-2wcr-87wf-cf9j, PYSEC-2026-1496
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, 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 accepts SVG files uploaded by users which could potentially contain JavaScript code. If SVG images are viewed directly, i.e. not rendered in an HTML page, this JavaScript code could execute. This vulnerability has been fixed by configuring Kiwi TCMS to serve with the Content-Security-Policy HTTP header which blocks inline JavaScript in all modern browsers. This configuration change is provided in version 12.1 and users are advised to upgrade. Users unable to upgrade may set their Content-Security-Policy HTTP header manually.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`
- 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 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L`

## References

- <https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j> (patch, vendor-advisory, web)
- <https://github.com/kiwitcms/Kiwi/commit/6617cee0fb70cc394b7be6bbc86ef84e6e9de077> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27489> (advisory)
- <https://github.com/kiwitcms/Kiwi> (package)
- <https://pypi.org/project/kiwitcms> (package)
- <https://github.com/advisories/GHSA-2wcr-87wf-cf9j> (advisory)

## Sources

- CVE List: [CVE-2023-27489](https://www.cve.org/CVERecord?id=CVE-2023-27489), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-2wcr-87wf-cf9j](https://github.com/advisories/GHSA-2wcr-87wf-cf9j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-27489](https://nvd.nist.gov/vuln/detail/CVE-2023-27489), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1496](https://osv.dev/vulnerability/PYSEC-2026-1496), CC-BY-4.0, modified 2026-07-07

---

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