CVE-2026-27621
Description
TypiCMS is a multilingual content management system based on the Laravel framework. A Stored Cross-Site Scripting (XSS) vulnerability exists in the file upload module of TypiCMS prior to version 16.1.7. The application allows users with file upload permissions to upload SVG files. While there is a MIME type validation, the content of the SVG file is not sanitized. An attacker can upload a specially crafted SVG file containing malicious JavaScript code. When another user (such as an administrator) views or accesses this file through the application, the script executes in their browser, leading to a compromise of that user's session. The issue is exacerbated by a bug in the SVG parsing logic, which can cause a 500 error if the uploaded SVG does not contain a `viewBox` attribute. However, this does not mitigate the XSS vulnerability, as an attacker can easily include a valid `viewBox` attribute in their malicious payload. Version 16.1.7 of TypiCMS Core fixes the issue.
How to fix
- typicms typicms16.1.7 or later
- typicms/core16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| typicms typicms | v < 16.1.7 | 16.1.7 |
| typicms/corePackagist | 16.0.0 ≤ v < 16.1.7, 15.0.0 ≤ v < 15.0.29, 14.0.0 ≤ v < 14.0.27, 13.0.0 ≤ v < 13.0.9, v < 12.0.5 | 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.