Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious URL with XSS payload
-
DeliveryDelivers URL to victim via phishing or social engineering
-
ExploitVictim clicks link and loads GraphiQL page
-
InstallJavaScript parser encounters unescaped backslash-quote sequence
-
C2String termination occurs prematurely
-
ExecuteAttacker's JavaScript code executes in victim's browser context
-
ImpactSession data or credentials exfiltrated
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 that the GraphiQL interface is accessible over the network (not restricted to localhost or private network) and enabled in the application configuration. The attacker must craft and deliver a malicious URL containing the query parameter to a victim, and the victim must click the link (no automatic exploitation possible). The vulnerability specifically affects the query GET parameter when embedded into inline JavaScript in the GraphiQL HTML page; other parameters may have different escaping. Exploitation is limited to JavaScript execution in the victim's browser session - it does not grant server-side code execution or backend access unless the GraphQL API itself contains authorization flaws. No special feature flags, non-default configurations, or specific protocol versions are required; the bug exists in the default js_escape/1 implementation for any version 1.2.0-1.10.1 with GraphiQL enabled. |
| Impact | This is a low-real-risk XSS despite CWE-79 classification. CVSS 2.3 (Critical in CVSS v3 scale but minimal impact under CVSS v4 scoring with AT:P attack time and UI:P user interaction requirements) correctly reflects that exploitation requires an attacker to craft a malicious URL and socially engineer a victim into clicking it. The attack vector is network-based and authentication is not required, but the presence of user interaction (UI:P) in the CVSS vector significantly reduces practical exploitability. No public proof-of-concept code is known to exist at analysis time; no CISA KEV listing or active exploitation reports are evident. The vulnerability is limited to the GraphiQL development/debugging interface, which is typically exposed only in development environments or behind authentication in production. However, teams that expose GraphiQL publicly in production should treat this as moderate priority due to the ease of crafting a malicious query parameter URL. The patch (version 1.10.2) is straightforward and addresses the root cause by escaping backslashes before single quotes and newlines, plus additional hardening (carriage return and </ tag escaping). EPSS score is not provided in input data; without it, real-world exploitation probability appears low based on attack complexity and user interaction requirement. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing a GraphQL query parameter with XSS payload, such as /?query=xxx\');alert('XSS');//. The attacker shares this link in a phishing email or posts it on a forum, claiming it demonstrates a specific GraphQL query result or bug. A victim clicks the link, and their browser loads the GraphiQL interface with the injected payload. The unescaped backslash in the parameter bypasses the existing quote-escaping logic, causing the JavaScript string to close prematurely and the attacker's JavaScript (e.g., alert() or session cookie theft via fetch()) to execute in the victim's security context. The victim's session data or credentials could be exfiltrated if the GraphQL endpoint has authorization headers or cookies. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Reflected cross-site scripting (XSS) in absinthe_plug GraphiQL interface allows unauthenticated attackers to execute arbitrary JavaScript in victims' browsers via the query GET parameter. The vulnerability exploits incomplete input escaping in the js_escape/1 function, which fails to escape backslashes before embedding user-controlled query strings into inline JavaScript. An attacker can bypass existing single-quote and newline escaping by prefixing a quote with a backslash (e.g., \'), breaking out of the string context. Vendor-released patch available (version 1.10.2 and later); exploitation requires user interaction (clicking a malicious link).
RemediationAI
Upgrade absinthe_plug to version 1.10.2 or later immediately. The patched version corrects the js_escape/1 function to escape backslashes first (before single quotes and newlines), preventing the bypass technique described. To verify the patch, inspect that lib/absinthe/plug/graphiql.ex includes backslash escaping as the first replacement operation in the chain. For teams unable to upgrade immediately, a compensating control is to restrict access to the GraphiQL endpoint (typically at /_graphiql or /graphiql) to authenticated users or internal networks only, using web server firewall rules or reverse proxy authentication. This eliminates the ability for unauthenticated external attackers to inject malicious URLs, though it does not fix the underlying escaping bug. A second compensating control is to disable the GraphiQL interface entirely in production environments via the Absinthe.Plug configuration (enabled: false or similar), reserving it for development only; this is a best practice regardless. The patch has no known side effects and includes additional hardening (carriage return and </ escaping) that improves overall robustness. Patch commit: https://github.com/absinthe-graphql/absinthe_plug/commit/23a0d5658d32420086711adf4ce8f05febb09963.
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
absinthe_plug is an Elixir/Phoenix integration library for the Absinthe GraphQL server. The vulnerability exists in the GraphiQL web-based IDE, which accepts GraphQL query strings via the query GET parameter and embeds them directly into inline JavaScript for client-side initialization. The js_escape/1 function in lib/absinthe/plug/graphiql.ex attempts to sanitize these parameters by escaping single quotes (') and newlines (\n), but fails to escape backslashes (\). This is a classic JavaScript string escape vulnerability: in JavaScript string literals delimited by single quotes, a backslash followed by a quote (\') is interpreted as an escaped quote character (literal '), not a backslash followed by a quote-that-closes-the-string. By not pre-escaping backslashes, an attacker can inject \') to produce a closing quote followed by code injection. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the failure to apply sufficient output encoding to user-controlled data before inserting it into a dynamic JavaScript context.
Know when Absinthe Plug 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:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface.
'Elixir.Absinthe.Plug.GraphiQL':js_escape/1 in lib/absinthe/plug/graphiql.ex escapes single quotes and newlines in the query GET parameter before embedding it in an inline JavaScript string, but does not escape backslashes. An attacker can bypass the escaping by prefixing a quote with a backslash (e.g. \'), breaking out of the string context and executing arbitrary JavaScript in the victim's browser.
This issue affects absinthe_plug: from 1.2.0 before 1.10.2.
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.
EUVD-2026-28799
GHSA-c62g-j346-39v5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB