Skip to main content

absinthe_plug CVE-2026-42794

| EUVDEUVD-2026-28799 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 EEF GHSA-c62g-j346-39v5
2.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Recon
    Attacker crafts malicious URL with XSS payload
  2. Delivery
    Delivers URL to victim via phishing or social engineering
  3. Exploit
    Victim clicks link and loads GraphiQL page
  4. Install
    JavaScript parser encounters unescaped backslash-quote sequence
  5. C2
    String termination occurs prematurely
  6. Execute
    Attacker's JavaScript code executes in victim's browser context
  7. Impact
    Session 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – 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

absinthe_plug 26241817cb4b9be4de3f5972c5fba3d36de3d713 <23a0d5658d32420086711adf4ce8f05febb09963
absinthe_plug 1.2.0 <1.10.2

Affected Packages

euvd absinthe_plug fix: 1.10.2

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

Vendor (EEF) PRIMARY 2.3 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 08, 2026 - 16:22 NVD
2.3 (LOW)
CVE Published
May 08, 2026 - 15:42 nvd
LOW 2.3

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

EPSS Score
0.0%
Top 85% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
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