A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-42794

CVE-2026-42794: Absinthe Plug GraphiQL XSS Vulnerability

CVE-2026-42794 is a reflected cross-site scripting flaw in absinthe_plug's GraphiQL interface that allows attackers to execute arbitrary JavaScript by bypassing input escaping. This article covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-42794 Overview

CVE-2026-42794 is a reflected cross-site scripting (XSS) vulnerability in the absinthe_plug library, an Elixir plug that exposes Absinthe GraphQL APIs over HTTP. The flaw resides in the GraphiQL interface, where the query GET parameter is embedded into an inline JavaScript string without proper backslash escaping. An attacker can craft a URL that breaks out of the JavaScript string context and executes arbitrary script in the victim's browser. The issue affects absinthe_plug from version 1.2.0 before 1.5.10 and is categorized under [CWE-79].

Critical Impact

Attackers can deliver crafted GraphiQL URLs that execute arbitrary JavaScript in a victim's browser session, enabling session theft, GraphQL action abuse, and phishing.

Affected Products

  • absinthe-graphql/absinthe_plug versions >= 1.2.0
  • absinthe-graphql/absinthe_plug versions < 1.5.10
  • Elixir applications exposing the Absinthe GraphiQL interface in production

Discovery Timeline

  • 2026-05-08 - CVE-2026-42794 published to NVD
  • 2026-05-16 - Last updated in NVD database

Technical Details for CVE-2026-42794

Vulnerability Analysis

The vulnerability lives in Elixir.Absinthe.Plug.GraphiQL, specifically the js_escape/1 helper defined in lib/absinthe/plug/graphiql.ex. When the GraphiQL interface renders the page, it takes the query GET parameter and embeds it directly inside an inline JavaScript string literal. The js_escape/1 function attempts to neutralize dangerous characters by escaping single quotes and newlines, but it omits backslashes from the escape set. Because backslashes pass through unmodified, an attacker can supply an escaped quote such as \' that, after the function's transformation, terminates the JavaScript string prematurely. The remainder of the attacker-controlled payload is then parsed as JavaScript source.

Root Cause

The root cause is incomplete output encoding in js_escape/1. Proper JavaScript string escaping requires backslashes to be doubled before any other escaping is applied. By skipping this step, the function allows attacker-supplied backslashes to neutralize the very escaping the function performs on quotes, producing a context-confusion that yields reflected XSS.

Attack Vector

Exploitation requires the victim to load a GraphiQL URL crafted by the attacker, for example through a phishing link or an embedded redirect. The malicious payload is placed in the query GET parameter and uses a leading backslash to escape the surrounding string delimiter. When the GraphiQL page renders, the browser parses the injected JavaScript in the application's origin, granting access to cookies, GraphQL endpoints, and the DOM. User interaction is required, but no authentication or special privileges are needed on the target application.

No public proof-of-concept code is published in the referenced advisories. See the upstream commit and GitHub Issue #275 for the technical fix and discussion.

Detection Methods for CVE-2026-42794

Indicators of Compromise

  • Requests to GraphiQL endpoints containing a backslash followed by a single quote in the query parameter, for example ?query=\'.
  • URL-encoded sequences such as %5C%27, %5C%22, or embedded </script> tags in the query parameter of GraphiQL requests.
  • HTTP referers pointing to external sites that load the application's GraphiQL endpoint with non-standard query strings.

Detection Strategies

  • Inspect web server and reverse proxy logs for GET requests targeting the GraphiQL route with suspicious characters in the query parameter.
  • Deploy a Web Application Firewall (WAF) rule that flags backslash-quote sequences and script-tag patterns in GraphQL query parameters.
  • Audit deployed Elixir applications for the absinthe_plug dependency version using mix deps and flag versions below 1.5.10.

Monitoring Recommendations

  • Alert on anomalous spikes in GET traffic to GraphiQL routes, especially from off-network referrers.
  • Monitor Content Security Policy (CSP) violation reports for inline script executions on GraphiQL pages.
  • Track outbound requests from browsers that loaded GraphiQL to identify potential session token exfiltration.

How to Mitigate CVE-2026-42794

Immediate Actions Required

  • Upgrade absinthe_plug to version 1.5.10 or later across all Elixir applications.
  • Disable the GraphiQL interface in production environments where it is not strictly required.
  • Enforce a strict Content Security Policy that forbids inline script execution on GraphiQL routes.

Patch Information

The fix was committed upstream in absinthe_plug commit 23a0d56 and released in absinthe_plug 1.5.10. The patch extends the js_escape/1 function to also escape backslash characters, preventing string-context breakout. Refer to the Erlang Ecosystem Foundation CNA advisory and the OSV record for the authoritative fix metadata.

Workarounds

  • Remove the Absinthe.Plug.GraphiQL route from production router pipelines and restrict it to local development.
  • Restrict access to the GraphiQL endpoint by IP allowlist or authenticated session if it must remain reachable.
  • Apply a reverse proxy filter that rejects requests where the query parameter contains backslash characters.
bash
# Update absinthe_plug to the patched version in mix.exs, then run:
mix deps.update absinthe_plug
mix deps.get
mix compile

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechAbsinthe

  • SeverityLOW

  • CVSS Score2.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • CNA CVE-2026-42794 Details

  • GitHub Code Commit

  • GitHub Issue #275

  • OSV Vulnerability EEF-CVE-2026-42794
  • Related CVEs
  • CVE-2026-42793: Absinthe GraphQL DOS Vulnerability

  • CVE-2026-43967: Absinthe GraphQL DoS Vulnerability
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