Vulnerability · Published Mar 29, 2023 · Assigned by GitHub_M

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

High 7.6

In plain English

A high-severity cross-site scripting in Kiwi from kiwitcms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)0.5%top 58.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIkiwitcms12.1GHSA-2wcr-87wf-cf9j
PyPIkiwitcms12.1PYSEC-2026-1496

Affected products (as reported)

VendorProductVersions
kiwitcms Kiwi < 12.1

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L

References