Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl files on agent-compromised endpoint
-
DeliveryPlant HTML payload in .pdf-named file
-
ExploitOperator downloads file and clicks Preview Media
-
Execution/direct/view content-sniffs and renders HTML same-origin
-
PersistSteal operator JWTs from localStorage
-
ImpactFull GraphQL and REST API access
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 the attacker to already control the files on a target endpoint where a Mythic agent operates, and to place attacker-controlled HTML inside a file named with a .pdf extension; the payload only executes when a Mythic operator downloads that file and actively clicks Preview Media, at which point /direct/view content-sniffs the file and renders it as HTML in the Mythic UI origin. Key limiting factors: the attacker needs prior control of agent-reachable endpoint files (a privileged position in the engagement), the operator must perform the download-and-preview interaction (UI:A), and the attack depends on the browser content-sniffing an HTML body out of a .pdf-named file (reflected as AT:P). Affected versions are Mythic 3.2.16 through 3.4.0.61; updating to the patched version is the fix. |
| Impact | This is a stored XSS (CWE-79) in the Mythic C2 framework's React UI, scored CVSS 4.0 7.4 (High). The 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A) shows a network-reachable flaw with low complexity but two real brakes: AT:P (a specific attack requirement - the browser's content-sniffing of an HTML payload planted in a .pdf-named file via /direct/view) and UI:A (an operator must actively download the file and click Preview Media). Impact is high to confidentiality and integrity of the Mythic system (VC:H/VI:H) because rendering same-origin HTML can steal localStorage JWTs, yielding full GraphQL and REST access; VA:N and all subsequent-system metrics are N. No EPSS score and no KEV status are present in the input, so widespread or active exploitation cannot be asserted - exploitation here is inherently targeted, requiring an attacker to already control files on an endpoint a Mythic agent has compromised and to rely on operator interaction, so this reads as a plausible targeted operator-compromise risk rather than a mass-exploited internet threat. A public PoC reference (h00die/mythic_xss) is listed but is not confirmed as working exploit code. The vendor priority label is this_week, which aligns with a patched, High-severity but interaction- and position-gated bug rather than an emergency. |
| Exploit ScenarioDerived | An attacker who has compromised an endpoint running a Mythic agent plants attacker-controlled HTML/JavaScript inside a file given a .pdf name, so that when the operator later downloads that file and clicks Preview Media, /direct/view content-sniffs and renders it as HTML in the Mythic UI origin. The injected script reads the operator's JWTs from localStorage, granting the attacker full GraphQL and REST API access to the Mythic server. A public PoC reference exists but is not verified as working exploit code, and success depends on the operator performing the preview action (UI:A). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 30, 2026
Stored cross-site scripting in Mythic 3.2.16 through 3.4.0.61 allows an attacker who controls files on an agent-reachable endpoint to plant HTML inside a .pdf-named file; when a Mythic operator downloads the file and clicks Preview Media, /direct/view content-sniffs the content and renders it in the Mythic UI origin. The injected JavaScript can read localStorage JWTs and use them for full GraphQL and REST access; CVSS 4.0 score is 7.4 (High), and the CVSS vectors list PR:N, though exploitation requires prior control of endpoint files and operator interaction. No CISA KEV status or EPSS score was provided; a public PoC reference exists but is not verified as working exploit code.
RemediationAI
Patch status: Patch available per vendor advisory; the supplied data does not specify an exact fixed release number, so update Mythic to a build containing commit f06b3ed2d1de6577744cc0b3146966c625685859 and confirm the fixed release with the vendor advisory. The provided assessment states that updating to the patched version is the fix and does not document a separate workaround. The vuln.today decision label is this_week, so schedule the update accordingly. References: vendor commit https://github.com/its-a-feature/Mythic/commit/f06b3ed2d1de6577744cc0b3146966c625685859, VulnCheck advisory https://www.vulncheck.com/advisories/mythic-3.2.16-through-3.4.0.61-stored-xss-via-agent-downloaded-file-preview, project https://github.com/its-a-feature/Mythic.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mythic is a command-and-control framework whose React UI displays agent-collected files and media. The issue is a CWE-79 stored cross-site scripting flaw in the UI path used by ResponseDisplayMedia: an attacker with control over target endpoint files can supply HTML named as a .pdf, and /direct/view content-sniffs it as HTML, causing same-origin execution in the Mythic UI. Because the JavaScript runs in the UI origin, it can read localStorage JWTs and reuse them for GraphQL and REST operations. The vendor patch commit f06b3ed2d1de6577744cc0b3146966c625685859 modifies MythicReactUI components, and the affected product is identified by CPE cpe:2.3:a:its-a-feature:mythic:*:*:*:*:*:*:*:*; the trigger is the operator's download-and-preview action, not automatic rendering. The independent assessment uses CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N, indicating scope change and high confidentiality and integrity impact.
Know when Mythic gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-delivered stored XSS needing operator preview (UI:R) and the content-sniffing precondition (AC:H); it executes in the UI origin and steals JWTs (S:C, C:H/I:H), with no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Mythic 3.2.16 through 3.4.0.61 contains a stored cross-site scripting vulnerability that allows attackers controlling target endpoint files to run JavaScript in the Mythic UI origin by planting HTML in .pdf-named files. When an operator downloads the file and clicks Preview Media, content-sniffed HTML from /direct/view renders same-origin, stealing localStorage JWTs for full GraphQL and REST access.
Executive ViewAI
Mythic versions 3.2.16 through 3.4.0.61 contain a stored cross-site scripting flaw that can lead to full compromise of operator accounts if an attacker plants malicious content on a reachable endpoint and an operator previews it. This puts sensitive command-and-control operations and credentials at risk, requiring immediate leadership attention to patch affected systems.
Apply vendor patch.
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.
Cross-operation information disclosure in Mythic C2 framework versions before 3.4.0.60 allows any authenticated operator
Cross-operation authorization bypass in Mythic C2 framework before 3.4.0.60 exposes encryption keys and C2 profile confi
Authorization bypass in Mythic C2 framework before 3.4.0.60 allows authenticated spectator-role users to perform write o
EUVD-2026-114241
GHSA-m857-xf4f-qjf2
NVD
CVE.org
EPSS
Exploit-DB