CVE-2026-27621 Details
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.
A stored cross-site scripting vulnerability has been identified in TypiCMS, a multilingual content management system built on Laravel. This issue affects versions prior to 16.1.7 and arises in the file upload module, where users with upload permissions can submit SVG files. Although there is a MIME type validation, the SVG content is not sanitized. An attacker can exploit this by uploading a crafted SVG file containing malicious JavaScript. When another user, such as an administrator, accesses the file, the script executes in their browser, compromising their session. The vulnerability is worsened by a bug in the SVG parsing that can trigger a server error if the SVG lacks a 'viewBox' attribute, but this can be easily circumvented by including a valid 'viewBox' in the malicious file.
Users are advised to update TypiCMS to version 16.1.7 or later, where this vulnerability has been fixed. Additionally, consider implementing a Content-Security-Policy to mitigate the impact of any potential XSS vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/TypiCMS/Core/commit/d480a0be1e8e7c0600bb9a325bb11920ee66497d | [email protected] | Patch |
| https://github.com/TypiCMS/Core/security/advisories/GHSA-xfvg-8v67-j7wp | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| typicms typicms | < 16.1.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | Initial Analysis | [email protected] |
| Feb 25, 2026 | New CVE Received | [email protected] |