XSS in Absinthe-Graphql Absinthe.plug
CVE-2026-42794
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.5.10.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (29.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 29th percentile — 29.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
- Absinthe-Graphql Absinthe.plug
- Absinthe-Graphql Absinthe Plug — versions 1.2.0, 26241817cb4b9be4de3f5972c5fba3d36de3d713
Weakness classification (CWE)
References
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (vendor-advisory, Issue Tracking)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (related, Third Party Advisory)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (related, Third Party Advisory)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Patch, patch)
Frequently asked questions
- What is CVE-2026-42794?
- CVE-2026-42794 is a medium-severity vulnerability in Absinthe-Graphql Absinthe.plug, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2026-05-08.
- How severe is CVE-2026-42794?
- Medium severity. CVSS v3 base score is 6.1 out of 10.