PYSEC-2026-1496
Vulnerability from pysec - Published: 2026-07-07 11:45 - Updated: 2026-07-07 17:24Impact
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.
| Name | purl | kiwitcms | pkg:pypi/kiwitcms |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "kiwitcms",
"purl": "pkg:pypi/kiwitcms"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "12.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.0",
"10.1",
"10.2",
"10.3",
"10.3.999",
"10.4",
"10.5",
"11.0",
"11.1",
"11.3",
"11.4",
"11.5",
"11.6",
"11.7",
"12.0",
"6.10",
"6.11",
"6.2.1",
"6.3",
"6.4",
"6.5",
"6.5.3",
"6.6",
"6.7",
"6.8",
"6.9",
"7.0",
"7.1",
"7.2",
"7.2.1",
"7.3",
"8.0",
"8.1",
"8.1.99",
"8.2",
"8.3",
"8.4",
"8.5",
"8.6",
"8.6.1",
"8.7",
"8.8",
"8.9",
"9.0",
"9.999"
]
}
],
"aliases": [
"CVE-2023-27489",
"GHSA-2wcr-87wf-cf9j"
],
"details": "### Impact\nKiwi 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. \n\n### Patches\nThis 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.\n\n### Workarounds\nConfigure Content-Security-Policy header, see [commit 6617cee0](https://github.com/kiwitcms/Kiwi/commit/6617cee0fb70cc394b7be6bbc86ef84e6e9de077).\n\n### References\nYou can visit https://digi.ninja/blog/svg_xss.php for more technical details.\n\nIndependently disclosed by [Antonio Spataro](https://huntr.dev/bounties/bf99001b-a0a2-4f7d-98cd-983bc7f14a69/) and [@1d8](https://huntr.dev/bounties/f8c73bcc-02f3-4c65-a92b-1caa4d67c2fd/).",
"id": "PYSEC-2026-1496",
"modified": "2026-07-07T17:24:26.043715Z",
"published": "2026-07-07T11:45:17.732551Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-2wcr-87wf-cf9j"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-27489"
},
{
"type": "FIX",
"url": "https://github.com/kiwitcms/Kiwi/commit/6617cee0fb70cc394b7be6bbc86ef84e6e9de077"
},
{
"type": "PACKAGE",
"url": "https://github.com/kiwitcms/Kiwi"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/kiwitcms"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-2wcr-87wf-cf9j"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
}
],
"summary": "Kiwi TCMS Stored Cross-site Scripting via SVG file"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.