Skip to content
OpenAdvisories
Medium · 6.8 Public exploit CVE-2026-27621 EUVD-2026-8598GHSA-xfvg-8v67-j7wp

TypiCMS Core has Stored Cross-Site Scripting (XSS) via SVG File Upload

Published Feb 25, 2026 · Updated Feb 26, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
TypiCMS Core < 16.1.7 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • lukasz-rybak/CVE-2026-27621 ★ 0 · Apr 11, 2026

    CVE-2026-27621 - TypiCMS Core has Stored Cross-Site Scripting (XSS) via SVG File Upload

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist typicms/core >= 16.0.0, < 16.1.7 16.1.7 GHSA-xfvg-8v67-j7wp
Packagist typicms/core >= 15.0.0, < 15.0.29 15.0.29 GHSA-xfvg-8v67-j7wp
Packagist typicms/core >= 14.0.0, < 14.0.27 14.0.27 GHSA-xfvg-8v67-j7wp
Packagist typicms/core >= 13.0.0, < 13.0.9 13.0.9 GHSA-xfvg-8v67-j7wp
Packagist typicms/core < 12.0.5 12.0.5 GHSA-xfvg-8v67-j7wp

References