The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42615

CVE-2026-42615: GCHQ CyberChef XSS Vulnerability

CVE-2026-42615 is a cross-site scripting vulnerability in GCHQ CyberChef before version 11.0.0 via Show Base64 offsets. This article covers the technical details, affected versions, security impact, and mitigation steps.

Published: April 30, 2026

CVE-2026-42615 Overview

A Cross-Site Scripting (XSS) vulnerability exists in GCHQ CyberChef versions prior to 11.0.0. The vulnerability occurs in the "Show Base64 offsets" operation, which fails to properly sanitize user-supplied input before rendering it in the browser context. An attacker can craft a malicious URL containing JavaScript code that will execute when a victim visits the specially crafted link, potentially leading to session hijacking, credential theft, or other client-side attacks.

Critical Impact

Attackers can execute arbitrary JavaScript in the context of CyberChef users by crafting malicious URLs with embedded scripts in the recipe parameter, potentially compromising sensitive data processed through the tool.

Affected Products

  • GCHQ CyberChef versions before 11.0.0
  • CyberChef version 10.24.0 and earlier releases

Discovery Timeline

  • April 29, 2026 - CVE-2026-42615 published to NVD
  • April 29, 2026 - Last updated in NVD database

Technical Details for CVE-2026-42615

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw exists within the "Show Base64 offsets" operation in CyberChef, a web-based data analysis tool developed by GCHQ. When processing recipes containing the Show_Base64_offsets function, the application fails to properly escape or sanitize the parameter values before inserting them into the rendered HTML output.

The attack is network-accessible and requires no authentication or special privileges to exploit. The impact extends beyond the vulnerable application's origin (changed scope), affecting both confidentiality and integrity of data processed by users who click on malicious links. The attack does not require user interaction beyond clicking the malicious link, as the recipe is automatically loaded and executed from the URL fragment.

Root Cause

The root cause stems from insufficient input validation and output encoding in the Show Base64 offsets operation. The recipe parameter passed via the URL fragment identifier (#recipe=) is processed and rendered without proper HTML entity encoding or JavaScript escaping. This allows an attacker to inject arbitrary HTML and JavaScript content by including script tags or event handlers within the operation parameters.

Attack Vector

The vulnerability can be exploited remotely via a network attack vector. An attacker constructs a malicious CyberChef URL containing a recipe with the Show_Base64_offsets operation. The operation parameter includes HTML/JavaScript payload such as <script> tags. When a victim clicks the link, the CyberChef application processes the URL fragment, parses the recipe, and renders the attacker-controlled content directly into the DOM without proper sanitization, causing the malicious script to execute in the victim's browser context.

The attack is demonstrated through URLs following this pattern: /#recipe=Show_Base64_offsets('%3Cscript... where %3C decodes to <, allowing script injection. Since CyberChef is commonly used for analyzing potentially sensitive data including encoded credentials, API keys, and other security-relevant information, successful exploitation could expose this sensitive data to attackers.

Detection Methods for CVE-2026-42615

Indicators of Compromise

  • Monitor web server and proxy logs for CyberChef URLs containing Show_Base64_offsets with encoded script tags (%3Cscript, %3Csvg, %3Ciframe)
  • Look for suspicious referrer URLs pointing to external domains that redirect to CyberChef instances with malicious recipes
  • Check browser console logs or content security policy violation reports indicating inline script execution attempts

Detection Strategies

  • Implement Content Security Policy (CSP) headers on CyberChef deployments to detect and block inline script execution attempts
  • Deploy web application firewalls (WAF) with rules to detect XSS patterns in URL fragments and query parameters
  • Monitor network traffic for requests to internal CyberChef instances originating from external phishing links
  • Enable browser-based XSS auditing and monitoring for organizations using CyberChef

Monitoring Recommendations

  • Configure centralized logging for all CyberChef access with full URL capture including fragments where possible
  • Set up alerts for unusual access patterns to CyberChef instances, particularly from external referrers
  • Monitor for CSP violation reports that may indicate attempted XSS exploitation

How to Mitigate CVE-2026-42615

Immediate Actions Required

  • Upgrade GCHQ CyberChef to version 11.0.0 or later immediately
  • If immediate upgrade is not possible, restrict access to CyberChef instances to trusted networks only
  • Implement Content Security Policy headers to mitigate potential XSS impact
  • Warn users not to click on CyberChef links from untrusted sources

Patch Information

The vulnerability has been addressed in CyberChef version 11.0.0. The fix involves proper sanitization and encoding of user-supplied input in the Show Base64 offsets operation before rendering. Technical details of the fix can be found in the GitHub commit. The complete changes between the vulnerable version 10.24.0 and the patched version 11.0.0 are available in the GitHub version comparison. Additional context is available in the related GitHub issue and pull request.

Workarounds

  • Deploy CyberChef behind a reverse proxy with strict Content Security Policy headers that block inline script execution
  • Restrict access to CyberChef deployments using network-level access controls to limit exposure to trusted users only
  • Educate users about the risks of clicking on CyberChef URLs from untrusted sources, particularly those containing complex recipe parameters
  • Consider using a local/offline version of CyberChef for processing sensitive data until the patch can be applied
bash
# Example CSP header configuration for Apache
# Add to virtual host or .htaccess file
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCyberchef

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Version Comparison

  • GitHub Issue Tracker

  • GitHub Pull Request
  • Latest CVEs
  • CVE-2026-46333: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-2586: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-2587: Eclipse Glassfish RCE Vulnerability

  • CVE-2026-45255: FreeBSD bsdinstall/bsdconfig RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English