CVE-2018-7302
Description
Tiki 17.1 allows XSS via a PNG file that actually contains SVG content, enabling script execution.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Tiki 17.1 allows XSS via a PNG file that actually contains SVG content, enabling script execution.
Vulnerability
Tiki 17.1 fails to properly validate file content when uploading image files. An attacker can upload a file with a .png extension that in reality contains SVG markup, bypassing the MIME type and extension filters. The SVG payload, when rendered by the browser, executes arbitrary JavaScript in the context of the affected page. This issue affects Tiki version 17.1 as described in [1] and [2].
Exploitation
An attacker must have an authenticated account on a Tiki 17.1 instance. They create a text file containing SVG content with an onload event (e.g., `) and rename it with a .png` extension. The file is then uploaded through the CMS file upload functionality, which only checks the extension, not the actual content [2]. When a victim views the uploaded file (e.g., via a page or gallery), the SVG is rendered and the script executes.
Impact
Successful exploitation leads to cross-site scripting (XSS) in the victim's browser. The attacker can execute arbitrary JavaScript, steal session cookies, perform actions on behalf of the authenticated user, deface content, or redirect to malicious sites. The compromise occurs at the privilege level of the victim user [2].
Mitigation
Tiki has not released a specific patch for this version as of the publication date (2018-02-21). The CVE references do not indicate a fix [3]. Users should upgrade to a newer version of Tiki if available, and administrators can restrict file upload to only trusted users or disable SVG-based file types. There is no known workaround in the available references.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tikiwiki/tiki-managerPackagist | <= 17.1 | — |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
3- github.com/advisories/GHSA-7f2f-crxg-cpfvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-7302ghsaADVISORY
- websecnerd.blogspot.in/2018/01/tiki-wiki-cms-groupware-17.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.