Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft recipe URL with script payload
-
DeliveryDeliver link to analyst
-
ExploitVictim loads Show Base64 offsets recipe
-
ExecutionUnescaped input injected into HTML
-
ImpactScript executes in CyberChef origin
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 victim to invoke the 'Show Base64 offsets' operation with attacker-controlled input - most practically by opening a crafted CyberChef URL whose #recipe fragment specifies Show_Base64_offsets with a payload beginning with a '<script' substring, which is then reflected unescaped into the HTML output. Limiting factors: the target must be running CyberChef before 11.0.0, and a user must actually load the malicious recipe/link and run that specific operation (user interaction in practice, despite the CVSS UI:N metric). Because CyberChef is a client-side tool usually operated per-user without server-side sessions or stored credentials, impact is confined to script execution within the victim's browser context of the CyberChef page; there is no unauthenticated server-side compromise. |
| Impact | Signals point to a genuine but low-priority XSS. CVSS 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) is driven by network vector, no privileges, scope change, and the anomalous UI:N - but for a reflected/DOM XSS delivered through a crafted recipe URL, real exploitation realistically requires the victim to open the malicious link, i.e. UI:R; treating this as UI:N inflates the score. Corroborating this lower real-world risk: EPSS is 0.01% (1st percentile), CISA SSVC records Exploitation: none, Automatable: no, and Technical Impact: partial. There is no KEV listing and no public exploit beyond the advisory's proof payload. Because CyberChef is a self-contained client-side tool typically run per-user (often locally or on internal instances) with no server-side session or sensitive credentials to steal, the practical blast radius is limited to the browser context of a user who is tricked into loading a hostile recipe. Note the conflict: CVSS asserts UI:N but the described delivery (crafted URL / attacker-controlled operation input) implies user interaction - verify scoring against the delivery model before prioritizing. |
| Exploit ScenarioDerived | An attacker crafts a CyberChef recipe URL such as /#recipe=Show_Base64_offsets('<script...') and lures an analyst into clicking it (e.g., shared as a 'sample to decode'). When the victim's browser loads the recipe, the unescaped payload is rendered into the page and the injected JavaScript executes in the CyberChef origin. Only the demonstrative payload from the advisory is public; no weaponized exploit kit is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Cross-site scripting in GCHQ CyberChef before 11.0.0 allows attackers to execute arbitrary JavaScript in a victim's browser via the 'Show Base64 offsets' operation, which rendered attacker-influenced input into the HTML output without escaping. A crafted recipe URL (e.g. /#recipe=Show_Base64_offsets('<script...')) triggers script execution in the CyberChef page context. No public exploit is identified beyond the demonstrative payload in the advisory; EPSS is negligible (0.01%) and the flaw is not automatable per CISA SSVC, though a fix is confirmed in v11.0.0.
RemediationAI
Vendor-released patch: upgrade to CyberChef 11.0.0 or later, which HTML-escapes the 'Show Base64 offsets' output via Utils.escapeHtml() (fix commit 9641ae07f92e9af50f10e978385465b2f4a36c4d, PR #2346). Operators of self-hosted CyberChef instances should redeploy the updated build; users of the public instance are covered once GCHQ updates it. If you cannot upgrade immediately, avoid running the 'Show Base64 offsets' operation on untrusted input and do not open CyberChef recipe links (/#recipe=...) received from untrusted sources, since the payload rides in the URL fragment; on hosted deployments, adding a restrictive Content-Security-Policy that forbids inline script execution meaningfully reduces impact but may break some CyberChef functionality that relies on dynamic script/eval behavior, so test before enforcing. Reference advisories: https://github.com/gchq/CyberChef/issues/2344 and https://vuldb.com/vuln/360096.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CyberChef is a browser-based, client-side data-transformation web application ('the Cyber Swiss Army Knife') developed by GCHQ, widely used by analysts to encode, decode, and inspect data. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): the ShowBase64Offsets.mjs operation concatenated substrings of the input directly into HTML markup (inside <span> highlight tags) without HTML-encoding. The vendor fix wraps each interpolated segment (staticSection and the offset0/offset1/offset2 substrings) in Utils.escapeHtml(), neutralizing angle brackets so payloads like <script> are rendered as inert text (<script>) rather than parsed as markup. The CPE cpe:2.3:a:gchq:cyberchef:*:*:*:*:*:*:*:* confirms the affected application is the GCHQ CyberChef codebase across all versions prior to the fix.
Know when Cyberchef 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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Reflected XSS delivered via a crafted recipe URL requires the victim to open it, so UI:R; no auth (PR:N), browser-context script execution changes scope (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
GCHQ CyberChef before 11.0.0 allows XSS via Show Base64 offsets, as demonstrated by the /#recipe=Show_Base64_offsets('%3Cscript substring.
Executive ViewAI
GCHQ CyberChef versions prior to 11.0.0 contain a cross-site scripting vulnerability enabling arbitrary JavaScript execution in user browsers via crafted recipe URLs, potentially compromising the integrity of cryptographic analysis performed by security teams. Organizations using CyberChef face exposure of analyzed data and loss of tool trustworthiness if security personnel unknowingly process malicious payloads.
Apply vendor patch. If patching cannot be completed immediately, restrict CyberChef access to internal networks only, disable or isolate the 'Show Base64 offsets' operation if operationally feasible, and implement strict Content Security Policy headers with script-src restrictions on any web-hosted instances.
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.
CyberChef before 8.31.2 allows XSS in core/operations/TextEncodingBruteForce.mjs. Rated medium severity (CVSS 6.1), this
Prototype pollution in CyberChef prior to 11.2.0 enables cross-site scripting via a chained operation attack. The Series
EUVD-2026-26191
GHSA-h4hv-92pp-pcjg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB