Skip to main content

CyberChef CVE-2026-42615

| EUVDEUVD-2026-26191 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-04-29 mitre GHSA-h4hv-92pp-pcjg
7.2
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft recipe URL with script payload
  2. Delivery
    Deliver link to analyst
  3. Exploit
    Victim loads Show Base64 offsets recipe
  4. Execution
    Unescaped input injected into HTML
  5. Impact
    Script 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CyberChef 0 <11.0.0

Affected Packages

npm cyberchef fix: 11.0.0

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 (&lt;script&gt;) 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

Vendor (mitre) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch released
Apr 30, 2026 - 15:48 nvd
Patch available
Patch available
Apr 29, 2026 - 06:16 EUVD
CVE Published
Apr 29, 2026 - 02:55 nvd
HIGH 7.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 99% exploitable
Prevalence
Medium
popular analyst tool, but client-side and often per-user or internal
Threat Intel
1
1 source
Social Media
7
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy