Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as admin to media manager
-
DeliveryCraft SVG with embedded <script> payload
-
ExploitUpload file via POST /admin/media_manager
-
ExecutionVictim opens stored SVG URL
-
ImpactExecute JavaScript in victim's session context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with access to the admin media manager (POST /admin/media_manager), consistent with PR:H; the PoC explicitly begins by logging in as admin. The attacker uploads an SVG file containing an inline <script> element, which pre-4.3.1 TastyIgniter stores unsanitized; the payload fires only when a user's browser renders the stored SVG directly via its media URL, so a victim must navigate to the file. Limiting factors: admin-level upload privilege is required, a separate victim must view the SVG for impact, and the issue affects default configurations only in versions below 4.3.1 - the 4.3.1 patch sanitizes SVGs via enshrined/svg-sanitize and validates uploads, so patched installs are not exploitable this way. |
| Impact | Signals point to a moderate, access-gated issue rather than an urgent widespread threat. The vendor CVSS is 6.8 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H), and the PR:H metric confirms the attacker must already hold admin-level access to the TastyIgniter media manager to upload the malicious SVG, which sharply limits who can exploit it. No EPSS score, no CISA KEV listing, and no confirmed packaged exploit were provided, so there is no evidence of active or automated exploitation; the vuln.today decision label is 'this_month' (routine patching), not act_now or emergency. A public PoC reference is embedded in the GitHub advisory (GHSA-mqg7-fw3f-mhp7), but it is a reproduction write-up, not verified as packaged working exploit code. Note a clear inconsistency in the supplied vector: the vendor scored this stored XSS as C:N/I:N/A:H, yet stored XSS characteristically affects confidentiality and integrity of victim sessions (session/token theft, actions as the victim), not availability - the A:H/C:N/I:N mapping appears mislabeled and should be verified with the vendor. Overall this is a real but lower-priority fix: it needs an authenticated admin to plant the payload, so the practical threat is admin-to-user or multi-admin escalation, not anonymous remote compromise. |
| Exploit ScenarioDerived | An authenticated administrator (or an attacker who has already captured an admin session) uploads an SVG containing an inline <script> block through the /admin/media_manager endpoint; because versions before 4.3.1 store the file without sanitization, the script executes in the browser of any user who later opens that media URL, running JavaScript in their authenticated context. A full step-by-step PoC reference is published in the GitHub advisory, though it is not verified as packaged working exploit code. The network attack vector is offset by the admin-upload prerequisite (PR:H) and the need for a victim to view the file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Stored cross-site scripting in TastyIgniter's admin media manager allows an administrator-level user to upload an SVG file carrying an inline script element that is stored unsanitized and executed when a victim's browser renders the file from its media URL, affecting TastyIgniter releases before 4.3.1. Exploitation requires an authenticated account with upload rights to POST /admin/media_manager (the assessed vector is PR:H), and the payload only fires once a separate user navigates to the uploaded SVG, so the issue is access-gated rather than broadly reachable. The vendor shipped a fix in 4.3.1 that sanitizes SVG uploads through enshrined/svg-sanitize and adds a centralized upload validator; a public proof-of-concept with reproduction steps is published in the advisory, and there is no confirmed active exploitation or KEV listing, consistent with a this_month prioritization.
RemediationAI
Upgrade to TastyIgniter 4.3.1 (release tag v4.3.1, https://github.com/tastyigniter/core/releases/tag/v4.3.1), which is the vendor-released patch; the fix commit https://github.com/tastyigniter/core/commit/c6f99d7f47d20c144721c7a1044213f52c9b570f adds enshrined/svg-sanitize ^0.22 to composer.json, sanitizes SVG uploads in the attachment Manipulator and MediaAdder paths, and routes all uploads through the new MediaUploadValidator, so a composer update to the patched branch is required rather than a partial hotfix of the upload controller. Where an immediate upgrade is not possible, reduce exposure by limiting admin media-manager access to trusted accounts and by narrowing the allowed upload extensions in the media manager settings so SVG is not accepted; the trade-off is loss of SVG support for legitimate media and continued exposure for any administrator who retains upload rights. Note that the advisory's proof-of-concept requires an authenticated administrator session, so tightening account provisioning and session hygiene for admin users lowers practical risk while the patched version is rolled out.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TastyIgniter is a PHP e-commerce and restaurant-management platform built on Laravel (its own Flame framework layer), and the flaw lives in the attachment/media handling code under src/Flame/Database/Attach (Manipulator and MediaAdder). SVG is an XML-based image format that can legitimately embed <script> elements and event handlers, so accepting SVG uploads without content inspection turns a media library into a stored-script store; the advisory's payload is a minimal SVG with an alert(1) script block uploaded as image/svg+xml. The fix commit c6f99d7f47d20c144721c7a1044213f52c9b570f introduces a new Igniter\Flame\Support\MediaUploadValidator singleton that runs SVG content through enshrined/svg-sanitize (^0.22, newly added to composer.json) and, for other types, enforces a filename denylist (htaccess, web.config, nginx.conf), dotfile and path-traversal checks, an extension allowlist derived from the media manager settings, and image magic-byte validation. The pre-patch MediaAdder streamed the source file directly to the storage disk with no content check. No CWE identifier was supplied with the record; the behavior class is stored cross-site scripting, with the assessed impact scoped to limited confidentiality and integrity within the rendered origin (S:C) rather than code execution on the server.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Upload requires admin access (PR:H) and a victim must open the stored SVG (UI:R); script runs in a different browser security context (S:C) yielding session-level confidentiality/integrity impact, not availability.
Primary rating from Vendor (https://github.com/tastyigniter/TastyIgniter).
CVSS VectorVendor: https://github.com/tastyigniter/TastyIgniter
DescriptionCVE.org
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" />
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-141475
GHSA-mqg7-fw3f-mhp7
NVD
CVE.org
EPSS
Exploit-DB