CVE-2026-42794 json
Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug
published 2026-05-08 6 mo ago modified 2026-10-26 13 d ago also EEF-CVE-2026-42794 , EUVD-2026-28799 , GHSA-c62g-j346-39v5
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- hex absinthe_plug 1.5.10
- absinthe-graphql absinthe_plug 1.5.10
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/absinthe-graphql/absinthe_plug/issues/275 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.3 | 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 |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 4.0 | 2.3 | 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 |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| hex | absinthe_plug | >=1.2.0, <=1.5.9 >=1.2.0, <1.5.10 |
1.5.10 |
Affected products
- absinthe-graphql absinthe_plug
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/absinthe-graphql/absinthe_plug/commit/23a0d5658d32420086711adf4ce8f05febb09963
patch, web
-
github.com
/absinthe-graphql/absinthe_plug/issues/275
vendor-advisory, exploit, web, issue-tracking, advisory
-
cna.erlef.org
/cves/CVE-2026-42794.html
related, web, third-party-advisory
-
osv.dev
/vulnerability/EEF-CVE-2026-42794
related, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-42794
advisory
-
github.com
/absinthe-graphql/absinthe_plug
package
-
hex.pm
/packages/absinthe_plug
package
Sources
- CVE List CVE-2026-42794
- GitHub Advisory GHSA-c62g-j346-39v5
- NVD CVE-2026-42794
- OSV EEF-CVE-2026-42794
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.