Skip to main content
← All vulnerabilities
CVE-2026-27621GHSA-XFVG-8V67-J7WP

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • TypiCMS Core

    fixed in 16.1.7

  • typicms/corePackagist

    From 16.0.0 · fixed in 16.1.7

  • typicms/corePackagist

    From 15.0.0 · fixed in 15.0.29

  • typicms/corePackagist

    From 14.0.0 · fixed in 14.0.27

  • typicms/corePackagist

    From 13.0.0 · fixed in 13.0.9

  • typicms/corePackagist

    fixed in 12.0.5

References 3

GitHub · TypiCMS/Core

GitHub · lukasz-rybak/CVE-2026-27621