Kiwi TCMS Stored Cross-site Scripting via SVG file
Impact
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.
Patches
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.
Workarounds
Configure Content-Security-Policy header, see commit 6617cee0.
References
You can visit https://digi.ninja/blog/svg_xss.php for more technical details.
Independently disclosed by Antonio Spataro and @1d8.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | kiwitcms | < 12.1 | 12.1 |
References
- https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j
- https://nvd.nist.gov/vuln/detail/CVE-2023-27489
- https://github.com/kiwitcms/Kiwi/commit/6617cee0fb70cc394b7be6bbc86ef84e6e9de077
- https://github.com/kiwitcms/Kiwi
- https://pypi.org/project/kiwitcms
- https://github.com/advisories/GHSA-2wcr-87wf-cf9j
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
kiwitcms- Disclosed
- 30.03.2023
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1496 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-2wcr-87wf-cf9j - CC BY 4.0
Vulnerability history: kiwitcms
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 11.2022 07.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- High 7
- Medium 3
- Low 3
Disclosures per year
- 2022: 1
- 2023: 9
- 2024: 0
- 2025: 0
- 2026: 3
-
Kiwi TCMS Stored Cross-site Scripting via SVG file this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.