CVE-2026-42794
LOW 2.3CVSS 4.0Reflected XSS via backslash bypass in GraphiQL js_escape in absinthe_plug
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.
- Published
- 8 May 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- EEF-CVE-2026-42794GHSA-c62g-j346-39v5
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-42794JSONOSV GHSA-c62g-j346-39v5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | LOW 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 |
| CVE List | EEF | CVSS 4.0 | LOW 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | absinthe-graphql | absinthe.plugcpe:2.3:a:absinthe-graphql:absinthe.plug:*:*:*:*:*:*:*:* |
>= 1.2.0, < 1.5.10 | 1.5.10 |
| CVE List | https://repo.hex.pm | absinthe_plugcpe:2.3:a:absinthe-graphql:absinthe_plug:*:*:*:*:*:*:*:* |
>= 1.1.1, < 1.5.10 | 1.5.10 |
| CVE List | https://github.com | absinthe-graphql/absinthe_plugcpe:2.3:a:absinthe-graphql:absinthe_plug:*:*:*:*:*:*:*:* |
>= 26241817cb4b9be4de3f5972c5fba3d36de3d713, < 23a0d5658d32420086711adf4ce8f05febb09963 | 23a0d5658d32420086711adf4ce8f05febb09963 |
| OSV | Hex | absinthe_plug | >= 1.1.1, < 1.5.10 | 1.5.10 |
| OSV | Hex | absinthe_plug | >= 1.2.0, <= 1.5.9 |
References
- https://cna.erlef.org/cves/CVE-2026-42794.html · Third Party Advisory, related, WEB
- https://github.com/absinthe-graphql/absinthe_plug/commit/23a0d5658d32420086711adf4ce8f05febb09963 · Patch, FIX, WEB
- https://github.com/absinthe-graphql/absinthe_plug/commit/26241817cb4b9be4de3f5972c5fba3d36de3d713 · related, WEB
- https://github.com/absinthe-graphql/absinthe_plug/issues/275 · Issue Tracking, vendor-advisory, ADVISORY, WEB
- https://osv.dev/vulnerability/EEF-CVE-2026-42794 · Third Party Advisory, related, WEB
- https://hex.pm/packages/absinthe_plug · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-42794 · ADVISORY
- https://github.com/absinthe-graphql/absinthe_plug · PACKAGE
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 8 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 May 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 8 May 2026)