TypiCMS Core has Stored Cross-Site Scripting (XSS) via SVG File Upload
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TypiCMS | Core | before 16.1.7 | 16.1.7 | Patch available | CNA |
| — | typicms/core (Packagist) | 16.0.0 to before 16.1.7 | 16.1.7 | Patch available | GHSA-xfvg-8v67-j7wp |
| — | typicms/core (Packagist) | 15.0.0 to before 15.0.29 | 15.0.29 | Patch available | GHSA-xfvg-8v67-j7wp |
| — | typicms/core (Packagist) | 14.0.0 to before 14.0.27 | 14.0.27 | Patch available | GHSA-xfvg-8v67-j7wp |
| — | typicms/core (Packagist) | 13.0.0 to before 13.0.9 | 13.0.9 | Patch available | GHSA-xfvg-8v67-j7wp |
| — | typicms/core (Packagist) | before 12.0.5 | 12.0.5 | Patch available | GHSA-xfvg-8v67-j7wp |
- Core VendorTypiCMS Affected before 16.1.7 Fixed in 16.1.7 Patch available CNA
- typicms/core (Packagist) Vendor— Affected 16.0.0 to before 16.1.7 Fixed in 16.1.7 Patch available GHSA-xfvg-8v67-j7wp
- typicms/core (Packagist) Vendor— Affected 15.0.0 to before 15.0.29 Fixed in 15.0.29 Patch available GHSA-xfvg-8v67-j7wp
- typicms/core (Packagist) Vendor— Affected 14.0.0 to before 14.0.27 Fixed in 14.0.27 Patch available GHSA-xfvg-8v67-j7wp
- typicms/core (Packagist) Vendor— Affected 13.0.0 to before 13.0.9 Fixed in 13.0.9 Patch available GHSA-xfvg-8v67-j7wp
- typicms/core (Packagist) Vendor— Affected before 12.0.5 Fixed in 12.0.5 Patch available GHSA-xfvg-8v67-j7wp
Remediation
- Fix · CNA Core (TypiCMS) Fixed in 16.1.7
- Fix · GHSA-xfvg-8v67-j7wp typicms/core (Packagist) Fixed in 16.1.7 Advisory →
- Fix · GHSA-xfvg-8v67-j7wp typicms/core (Packagist) Fixed in 15.0.29 Advisory →
- Fix · GHSA-xfvg-8v67-j7wp typicms/core (Packagist) Fixed in 14.0.27 Advisory →
- Fix · GHSA-xfvg-8v67-j7wp typicms/core (Packagist) Fixed in 13.0.9 Advisory →
- Fix · GHSA-xfvg-8v67-j7wp typicms/core (Packagist) Fixed in 12.0.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27621
- 2026-10-03 Alias added: GHSA-xfvg-8v67-j7wp
References
Sources
- CVE-2026-27621 · CVE Program
- CVE-2026-27621 · NVD
- FIRST EPSS
- GHSA-xfvg-8v67-j7wp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences