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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Active; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.33% (percentile 19, 2026-11-28)
- **CWE:** CWE-79
- **Aliases:** GHSA-xfvg-8v67-j7wp
- **Published:** 2026-02-25T02:36:12.353Z
- **Modified:** 2026-07-09T17:30:10.868Z

## Who should check

- Projects that depend on Packagist package typicms/core (\>= 16.0.0, \< 16.1.7)
- Anyone running TypiCMS Core \< 16.1.7

## 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 and fixed versions

- Packagist `typicms/core`: affected \>= 16.0.0, \< 16.1.7; fixed 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5 (osv)
- TypiCMS Core: \< 16.1.7 (cvelist)

## Mitigation

- Upgrade typicms/core to one of 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27621. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27621.md
Affected: typicms/core >= 16.0.0, < 16.1.7
Fixed in: 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5

Steps:
1. Search this machine and project for typicms/core (Packagist), TypiCMS Core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27621 being exploited?

There is no confirmed exploitation: CVE-2026-27621 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-27621?

Medium: CVSS 6.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-27621?

typicms/core \>= 16.0.0, \< 16.1.7.

### Is there a fix for CVE-2026-27621?

Yes. Fixed in 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5. Upgrade typicms/core to one of 16.1.7, 15.0.29, 14.0.27, 13.0.9, 12.0.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-27621?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/TypiCMS/Core/security/advisories/GHSA-xfvg-8v67-j7wp>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-27621>
- patch: <https://github.com/TypiCMS/Core/commit/d480a0be1e8e7c0600bb9a325bb11920ee66497d>
- other: <https://github.com/TypiCMS/Core>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27621>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xfvg-8v67-j7wp> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-27621> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27621>
