Stored XSS Vulnerability in TypiCMS File Upload Module
CVE-2026-27621
What is CVE-2026-27621?
TypiCMS, a multilingual content management system built on the Laravel framework, has a vulnerability in its file upload module that permits stored cross-site scripting (XSS) attacks. Users with file upload permissions can uploads SVG files, which despite MIME type validation, are not subject to proper content sanitization. This oversight allows attackers to craft malicious SVG files containing JavaScript code. If an administrator or any user accesses this file, the malicious script executes within their browser, compromising their session. An additional issue in the SVG parsing logic may lead to server errors if certain attributes are missing, but this does not lessen the risk posed by this XSS flaw, as attackers can easily include valid attributes in their SVG payload. The vulnerability is addressed in TypiCMS version 16.1.7.
Affected Version(s)
Core < 16.1.7
