CVE-2026-42794
published low CVSS 4.0 · 2.3Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| absinthe-graphql | — | absinthe_plug1.1.1 to < 1.5.10 · Other versions: unaffected | Affected | Not stated | EEF |
| absinthe-graphql | — | absinthe-graphql/absinthe_plugabsinthe_plug · 26241817cb4b9be4de3f5972c5fba3d36de3d713 to < 23a0d5658d32420086711adf4ce8f05febb09963 · Other versions: unaffected | Affected | Not stated | EEF |
Description
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in absinthe-graphql absinthe_plug allows reflected cross-site scripting via the GraphiQL interface. 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.1.1 before 1.5.10.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| absinthe-graphql | absinthe_plug | 1.1.1 to < 1.5.10 (affected · semver)Default: unaffected | EEF · cna |
| absinthe-graphql | absinthe_plug | 26241817cb4b9be4de3f5972c5fba3d36de3d713 to < 23a0d5658d32420086711adf4ce8f05febb09963 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
5- EEF CNA record for CVE-2026-42794 https://cna.erlef.org/cves/CVE-2026-42794.html
- Fix commit 23a0d56 in absinthe-graphql/absinthe_plug https://github.com/absinthe-graphql/absinthe_plug/commit/23a0d5658d32420086711adf4ce8f05febb09963
- Introducing commit 2624181 in absinthe-graphql/absinthe_plug https://github.com/absinthe-graphql/absinthe_plug/commit/26241817cb4b9be4de3f5972c5fba3d36de3d713
- https://github.com/absinthe-graphql/absinthe_plug/issues/275
- OSV record EEF-CVE-2026-42794 https://osv.dev/vulnerability/EEF-CVE-2026-42794
Provider assertions
2EEF · cna
Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f22ccbc0fee1666d2777165b81ddf4d25021d87ef384043e496f17c95307fdf2
- Ingested
- 20 Nov 2026, 04:58:53 UTC
- Source record
- Official CVE record