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

- Severity: Medium 6.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T02:36:12.353Z
- Modified: 2026-07-09T17:30:10.868Z
- Also known as: GHSA-xfvg-8v67-j7wp
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- TypiCMS Core: < 16.1.7
- typicms/core (Packagist): from 16.0.0 before 16.1.7; from 15.0.0 before 15.0.29; from 14.0.0 before 14.0.27; from 13.0.0 before 13.0.9; before 12.0.5
- typicms typicms: before 16.1.7

## Every score

- GitHub_M: CVSS:4.0 6.8 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/TypiCMS/Core/security/advisories/GHSA-xfvg-8v67-j7wp> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/TypiCMS/Core/commit/d480a0be1e8e7c0600bb9a325bb11920ee66497d> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27621> (advisory)
- <https://github.com/TypiCMS/Core> (package)

## Sources

- CVE List: [CVE-2026-27621](https://www.cve.org/CVERecord?id=CVE-2026-27621), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-xfvg-8v67-j7wp](https://github.com/advisories/GHSA-xfvg-8v67-j7wp), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-27621](https://nvd.nist.gov/vuln/detail/CVE-2026-27621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27621 · Whole record: https://cve.day/CVE-2026-27621.json · Rebuilt by cve.day 2026-11-25T22:59:14.809Z
