ghsa-2wcr-87wf-cf9j
Vulnerability from github
Published
2023-03-30 20:18
Modified
2023-03-30 20:18
Severity ?
Summary
Kiwi TCMS Stored Cross-site Scripting via SVG file
Details
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": [ { "package": { "ecosystem": "PyPI", "name": "kiwitcms" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "12.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-27489" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2023-03-30T20:18:29Z", "nvd_published_at": "2023-03-29T19:15:00Z", "severity": "HIGH" }, "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": "GHSA-2wcr-87wf-cf9j", "modified": "2023-03-30T20:18:29Z", "published": "2023-03-30T20:18:29Z", "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": "WEB", "url": "https://github.com/kiwitcms/Kiwi/commit/6617cee0fb70cc394b7be6bbc86ef84e6e9de077" }, { "type": "PACKAGE", "url": "https://github.com/kiwitcms/Kiwi" } ], "schema_version": "1.4.0", "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" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.